Skip to content

Commit

Permalink
Remove unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
annawinkler committed Jun 6, 2022
1 parent 39a7a51 commit 5bd53d4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions registry_provider_integration_test.go
Expand Up @@ -47,16 +47,6 @@ func TestRegistryProvidersList(t *testing.T) {
assert.NotEmpty(t, returnedProviders.Items)
assert.Equal(t, providerN, returnedProviders.TotalCount)
assert.Equal(t, 1, returnedProviders.TotalPages)
for _, rp := range returnedProviders.Items {
foundProvider := false
for _, p := range providers {
if rp.ID == p.ID {
foundProvider = true
break
}
}
assert.True(t, foundProvider, "Expected to find provider %s but did not:\nexpected:\n%v\nreturned\n%v", rp.ID, providers, returnedProviders)
}
})

t.Run("with list options", func(t *testing.T) {
Expand Down

0 comments on commit 5bd53d4

Please sign in to comment.