diff options
Diffstat (limited to 'internal/source/gitlab/cache/entry_test.go')
-rw-r--r-- | internal/source/gitlab/cache/entry_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/source/gitlab/cache/entry_test.go b/internal/source/gitlab/cache/entry_test.go index 2ba26fd2..e928e990 100644 --- a/internal/source/gitlab/cache/entry_test.go +++ b/internal/source/gitlab/cache/entry_test.go @@ -12,6 +12,7 @@ import ( "gitlab.com/gitlab-org/gitlab-pages/internal/config" "gitlab.com/gitlab-org/gitlab-pages/internal/domain" "gitlab.com/gitlab-org/gitlab-pages/internal/source/gitlab/api" + "gitlab.com/gitlab-org/gitlab-pages/internal/testhelpers" ) func TestIsUpToDateAndNeedsRefresh(t *testing.T) { @@ -54,7 +55,7 @@ func TestIsUpToDateAndNeedsRefresh(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - entry := newCacheEntry("my.gitlab.com", testCacheConfig.EntryRefreshTimeout, testCacheConfig.CacheExpiry) + entry := newCacheEntry("my.gitlab.com", testhelpers.TestCacheConfig.EntryRefreshTimeout, testhelpers.TestCacheConfig.CacheExpiry) if tt.resolved { entry.response = &api.Lookup{} } |