From b312552c2ff9ca6c7f5f0bc78f8a9cabf7ec1587 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Tue, 29 Jun 2021 07:34:08 -0700 Subject: [PATCH] Fixed test --- ui/src/app/metadata/hooks/api.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/metadata/hooks/api.test.js b/ui/src/app/metadata/hooks/api.test.js index 1c93d01e7..cf6ba8c71 100644 --- a/ui/src/app/metadata/hooks/api.test.js +++ b/ui/src/app/metadata/hooks/api.test.js @@ -76,7 +76,7 @@ describe('api hooks', () => { describe('useNonAdminSources', () => { it('should call useFetch', () => { const sources = useNonAdminSources(); - expect(useFetch).toHaveBeenCalledWith(`${API_BASE_PATH}${getMetadataPath('source')}/disabledNonAdmin`) + expect(useFetch).toHaveBeenCalledWith(`${API_BASE_PATH}${getMetadataPath('source')}/disabledNonAdmin`, { "cachePolicy": "no-cache" }) }) });