Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 24, 2021
1 parent 4541947 commit 461854a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/metadata/hooks/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('api hooks', () => {
describe('useNonAdminSources', () => {
it('should call useFetch', () => {
const sources = useNonAdminSources();
expect(useFetch).toHaveBeenCalledWith(`/${getMetadataPath('source')}/disabledNonAdmin`)
expect(useFetch).toHaveBeenCalledWith(`${API_BASE_PATH}${getMetadataPath('source')}/disabledNonAdmin`)
})
});

Expand Down

0 comments on commit 461854a

Please sign in to comment.