Change controller context rate limiter test to ensure they are the same
pointer Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
parent
d998e37a44
commit
944f9d4103
@ -38,5 +38,5 @@ func Test_NewContextFactory(t *testing.T) {
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.NotNil(t, ctx1.RESTConfig.RateLimiter)
|
||||
assert.Equal(t, ctx1.RESTConfig.RateLimiter, ctx2.RESTConfig.RateLimiter)
|
||||
assert.Same(t, ctx1.RESTConfig.RateLimiter, ctx2.RESTConfig.RateLimiter)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user