Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Sep 4, 2024
1 parent 4faf38d commit d130063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/scope/firewall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func TestFirewallRemoveCredentialsRefFinalizer(t *testing.T) {
expects func(mock *mock.MockK8sClient)
}{
{
name: "Success - finalizer should be added to the Linode Firewall credentials Secret",
name: "Success - finalizer should be removed from the Linode Firewall credentials Secret",
LinodeFirewall: &infrav1alpha2.LinodeFirewall{
ObjectMeta: metav1.ObjectMeta{
Name: "test-fw",
Expand Down Expand Up @@ -409,7 +409,7 @@ func TestFirewallRemoveCredentialsRefFinalizer(t *testing.T) {
*obj = cred

return nil
}).Times(2)
}).AnyTimes()
mock.EXPECT().Update(gomock.Any(), gomock.Any()).Return(nil)
},
},
Expand Down

0 comments on commit d130063

Please sign in to comment.