Skip to content

Commit

Permalink
revert logs and verbose test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienstroheker authored and bgavrilMS committed Aug 29, 2023
1 parent 63160b4 commit cd92d59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: go test -race -short ./apps/cache/... ./apps/confidential/... ./apps/public/... ./apps/internal/...

- name: Integration Tests
run: go test -v -race ./apps/tests/integration/...
run: go test -race ./apps/tests/integration/...
env :
clientId: ${{ secrets.LAB_APP_CLIENT_ID }}
clientSecret: ${{ secrets.LAB_APP_CLIENT_SECRET }}
Expand Down
2 changes: 0 additions & 2 deletions apps/tests/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,12 +436,10 @@ func TestAccountFromCache(t *testing.T) {
t.Fatalf("TestAccountFromCache: on Accounts(): got err == %s, want err == nil", errors.Verbose(err))
}
for _, account := range accounts {
t.Logf("TestAccountFromCache: account found in cache: %v", account)
if account.PreferredUsername == user.Upn {
userAccount = account
}
}
t.Logf("TestAccountFromCache: userAccount: %v", userAccount)
result, err := app.AcquireTokenSilent(
ctx,
[]string{graphDefaultScope},
Expand Down

0 comments on commit cd92d59

Please sign in to comment.