Skip to content

Commit

Permalink
test: Fixes PropertiesModal_spec (#13548)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Apr 1, 2021
1 parent 73a2cc3 commit a144249
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const dashboardResult = {
fetchMock.restore();

fetchMock.get('glob:*/api/v1/dashboard/related/owners?*', {
result: {},
result: [],
});

fetchMock.get('glob:*/api/v1/dashboard/*', {
Expand Down Expand Up @@ -255,6 +255,7 @@ describe('PropertiesModal', () => {
slug: '/new',
json_metadata: '{"color_scheme":"SUPERSET_DEFAULT"}',
owners: [],
roles: [],
},
},
});
Expand Down Expand Up @@ -293,6 +294,7 @@ describe('PropertiesModal', () => {
slug: '/new',
json_metadata: '{"color_scheme":"SUPERSET_DEFAULT"}',
owners: [],
roles: [],
},
},
});
Expand Down

0 comments on commit a144249

Please sign in to comment.