Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Feb 15, 2024
1 parent 352965d commit 58f6100
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 89 deletions.
88 changes: 0 additions & 88 deletions cmd/plural/utils_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/provider/azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func TestCreateBucket(t *testing.T) {
prov, err := provider.AzureFromManifest(test.manifest, clientSet)
assert.NoError(t, err)

err = prov.CreateBucket("test")
err = prov.CreateBucket()
if test.expectedError != "" {
assert.Equal(t, err.Error(), test.expectedError)
} else {
Expand Down
1 change: 1 addition & 0 deletions pkg/provider/azure_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func getFakeClientSetWithAccountsClient(existingAccount *armstorage.Account) *pr
CreateCalledCount: 0,
},
Containers: &fakeContainersClient{},
Groups: &fakeGroupsClient{},
}
}

Expand Down

0 comments on commit 58f6100

Please sign in to comment.