Skip to content

Commit

Permalink
Update tests: User config is no longer called GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Oct 27, 2023
1 parent b083637 commit 5c2effc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows-agent/internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,10 +599,10 @@ func setUpMockSettings(t *testing.T, mockErrors uint32, state settingsState, rea
}

if state.is(userTokenExists) {
fileData.Subscription["gui"] = ""
fileData.Subscription["user"] = ""
}
if state.is(userTokenHasValue) {
fileData.Subscription["gui"] = "user_token"
fileData.Subscription["user"] = "user_token"
}

if state.is(storeTokenExists) {
Expand Down

0 comments on commit 5c2effc

Please sign in to comment.