diff --git a/auth/api/iam/api_test.go b/auth/api/iam/api_test.go index adc0a3029c..acf7c1c167 100644 --- a/auth/api/iam/api_test.go +++ b/auth/api/iam/api_test.go @@ -724,7 +724,9 @@ func TestWrapper_Routes(t *testing.T) { return nil }).AnyTimes() router.EXPECT().Use(gomock.Any()).AnyTimes() - (&Wrapper{}).Routes(router) + (&Wrapper{ + storageEngine: storage.NewTestStorageEngine(t), + }).Routes(router) // Check that all cache-control max-age paths are actual paths for _, path := range cacheControlMaxAgeURLs {