Fix config tests after deprecating options

This commit is contained in:
Jakob Borg 2014-04-08 21:36:03 +02:00
parent c832fc7d1b
commit 536613f008

View File

@ -140,8 +140,6 @@ func TestOverriddenValues(t *testing.T) {
<options> <options>
<listenAddress>:23000</listenAddress> <listenAddress>:23000</listenAddress>
<allowDelete>false</allowDelete> <allowDelete>false</allowDelete>
<guiEnabled>false</guiEnabled>
<guiAddress>125.2.2.2:8080</guiAddress>
<globalAnnounceServer>syncthing.nym.se:22025</globalAnnounceServer> <globalAnnounceServer>syncthing.nym.se:22025</globalAnnounceServer>
<globalAnnounceEnabled>false</globalAnnounceEnabled> <globalAnnounceEnabled>false</globalAnnounceEnabled>
<localAnnounceEnabled>false</localAnnounceEnabled> <localAnnounceEnabled>false</localAnnounceEnabled>
@ -157,8 +155,6 @@ func TestOverriddenValues(t *testing.T) {
expected := OptionsConfiguration{ expected := OptionsConfiguration{
ListenAddress: []string{":23000"}, ListenAddress: []string{":23000"},
GUIEnabled: false,
GUIAddress: "125.2.2.2:8080",
GlobalAnnServer: "syncthing.nym.se:22025", GlobalAnnServer: "syncthing.nym.se:22025",
GlobalAnnEnabled: false, GlobalAnnEnabled: false,
LocalAnnEnabled: false, LocalAnnEnabled: false,