Rename RawAPIKey -> APIKey in GUIConfiguration

This commit is contained in:
Jakob Borg
2016-02-02 11:12:25 +01:00
parent 5d4bfdabd6
commit e93c766c42
4 changed files with 8 additions and 8 deletions

View File

@@ -485,7 +485,7 @@ func TestCopy(t *testing.T) {
cfg.Devices[0].Addresses[0] = "wrong"
cfg.Folders[0].Devices[0].DeviceID = protocol.DeviceID{0, 1, 2, 3}
cfg.Options.ListenAddress[0] = "wrong"
cfg.GUI.RawAPIKey = "wrong"
cfg.GUI.APIKey = "wrong"
bsChanged, err := json.MarshalIndent(cfg, "", " ")
if err != nil {