Skip to content

Commit

Permalink
Refactor test
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Mar 6, 2024
1 parent 88ac0e9 commit ad63af5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/operator/eventing/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ func Test_stopNatsCRWatch(t *testing.T) {
testEnv.Reconciler.stopNATSCRWatch(eventing)

// Check the results
require.Equal(t, nil, testcase.watchNatsWatcher)
require.False(t, testcase.natsCRWatchStarted)
require.Nil(t, tc.watchNatsWatcher)
require.False(t, tc.natsCRWatchStarted)
})
}
}

0 comments on commit ad63af5

Please sign in to comment.