Update SetAndSave argument order

pull/7525/head
Thomas Stromberg 2020-04-08 21:27:38 -07:00
parent 1e8801ceb8
commit 38843d97b4
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ func TestSetAndSave(t *testing.T) {
profile := createTestProfile(t)
// enable
if err := SetAndSave("dashboard", "true", profile); err != nil {
if err := SetAndSave(profile, "dashboard", "true"); err != nil {
t.Errorf("Disable returned unexpected error: " + err.Error())
}
@ -108,7 +108,7 @@ func TestSetAndSave(t *testing.T) {
}
// disable
if err := SetAndSave("dashboard", "false", profile); err != nil {
if err := SetAndSave(profile, "dashboard", "false"); err != nil {
t.Errorf("Disable returned unexpected error: " + err.Error())
}