We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a47a0 commit 60c8d6bCopy full SHA for 60c8d6b
pkg/api/v1/healtcheck_test.go
@@ -32,7 +32,7 @@ func TestGetHealthcheck(t *testing.T) {
32
33
// Setup mock to return nil (no error) when IsRunning is called
34
mockRuntime.EXPECT().
35
- IsRunning(gomock.Not(gomock.Nil())).
+ IsRunning(gomock.Any()).
36
Return(nil)
37
38
// Create a test request and response recorder
@@ -55,7 +55,7 @@ func TestGetHealthcheck(t *testing.T) {
55
56
// Setup mock to return an error when IsRunning is called
57
58
59
Return(expectedError)
60
61
0 commit comments