Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Oct 14, 2022
1 parent cb951b1 commit c2761a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion superset-frontend/src/views/CRUD/alert/AlertList.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const mockalerts = [...new Array(3)].map((_, i) => ({
last_eval_dttm: Date.now(),
last_state: 'ok',
name: `alert ${i} `,
owners: [],
owners: [{ id: 1 }],
recipients: [
{
id: `${i}`,
Expand All @@ -67,6 +67,8 @@ const mockalerts = [...new Array(3)].map((_, i) => ({

const mockUser = {
userId: 1,
firstName: 'user 1',
lastName: 'lastname',
};

fetchMock.get(alertsEndpoint, {
Expand Down

0 comments on commit c2761a3

Please sign in to comment.