Skip to content

Commit

Permalink
fix usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pcyrek committed Dec 13, 2024
1 parent 0c6d4b9 commit 26d3ff2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions auth_with_external_browser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,14 @@ func TestExternalBrowserTimeout(t *testing.T) {

func TestExternalBrowserMismatchUser(t *testing.T) {
cfg := setupExternalBrowserTest(t)
wrongUsername := "fakeAccount"
correctUsername := cfg.User
cfg.User = "fakeAccount"
var wg sync.WaitGroup

wg.Add(2)
go func() {
defer wg.Done()
provideCredentials(externalBrowserType.Success, wrongUsername, cfg.Password)
provideCredentials(externalBrowserType.Success, correctUsername, cfg.Password)
}()
go func() {
defer wg.Done()
Expand Down

0 comments on commit 26d3ff2

Please sign in to comment.