Skip to content

Commit

Permalink
SCALRCORE-28138 API > Refactor test for Teams to the new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
denkl committed Dec 7, 2023
1 parent 5792eeb commit 6f62268
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions team_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,6 @@ func TestTeamsList(t *testing.T) {
assert.Contains(t, accIDs, defaultAccountID)
})

t.Run("without a valid account", func(t *testing.T) {
tl, err := client.Teams.List(ctx, TeamListOptions{
Account: String(badIdentifier),
})
assert.NoError(t, err)
assert.Len(t, tl.Items, 0)
})

t.Run("without a valid identity provider", func(t *testing.T) {
tl, err := client.Teams.List(ctx, TeamListOptions{
IdentityProvider: String(badIdentifier),
Expand Down

0 comments on commit 6f62268

Please sign in to comment.