Skip to content

Commit

Permalink
fix frontend test on sqllab
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed May 4, 2022
1 parent 844719d commit 5e0ee01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset-frontend/src/SqlLab/actions/sqlLab.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,10 @@ describe('async actions', () => {
fetchMock.delete(updateTableSchemaEndpoint, {});
fetchMock.post(updateTableSchemaEndpoint, JSON.stringify({ id: 1 }));

const getTableMetadataEndpoint = 'glob:*/api/v1/database/*';
const getTableMetadataEndpoint = 'glob:**/api/v1/database/*/table/*/*/';
fetchMock.get(getTableMetadataEndpoint, {});
const getExtraTableMetadataEndpoint =
'glob:*/api/v1/database/1/table_extra/*';
'glob:**/api/v1/database/*/table_extra/*/*/';
fetchMock.get(getExtraTableMetadataEndpoint, {});

let isFeatureEnabledMock;
Expand Down

0 comments on commit 5e0ee01

Please sign in to comment.