Skip to content

Commit

Permalink
Fixing broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanrainer committed Sep 30, 2022
1 parent 0ff09cb commit f7664a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/driver/directory_provisioner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ func TestDirectoryProvisioner_Provision(t *testing.T) {
mockMounter := mocks.NewMockMounter(mockCtl)
mockMounter.EXPECT().MakeDir(gomock.Any()).Return(nil)
mockMounter.EXPECT().Mount(fsId, gomock.Any(), "efs", gomock.Any()).Return(nil)
mockMounter.EXPECT().Unmount(gomock.Any()).Return(nil)

ctx := context.Background()

Expand Down Expand Up @@ -435,7 +434,9 @@ func TestDirectoryProvisioner_Delete(t *testing.T) {
}

dProv := DirectoryProvisioner{
deleteProvisionedDir: false,
deleteProvisionedDir: true,
mounter: mockMounter,
osClient: &FakeOsClient{},
}

err := dProv.Delete(ctx, req)
Expand Down

0 comments on commit f7664a7

Please sign in to comment.