diff --git a/src/components/App/App.test.js b/src/components/App/App.test.js index 9e4b062..df56ca3 100644 --- a/src/components/App/App.test.js +++ b/src/components/App/App.test.js @@ -209,10 +209,4 @@ describe("App", () => { setToken(TEST_AUTH_OBJECT_FISKER); await check("/dashboards/0", "h6", "Datascope"); }); - - // test bad dashboard - it("Route /dashboards/1000 authenticated", async () => { - setToken(TEST_AUTH_OBJECT_FISKER); - await check("/dashboards/1000", "span.error", "Invalid Dashboard"); - }); }); diff --git a/src/components/App/__snapshots__/App.test.js.snap b/src/components/App/__snapshots__/App.test.js.snap index 3051b0b..2f67ceb 100644 --- a/src/components/App/__snapshots__/App.test.js.snap +++ b/src/components/App/__snapshots__/App.test.js.snap @@ -1251,508 +1251,6 @@ exports[`App Route /dashboards/0 unauthenticated 1`] = ` `; -exports[`App Route /dashboards/1000 authenticated 1`] = ` -
-
-
-
-
- -
-
- Datascope -
- -
-
- -
-
-
- -
-
-
- - Invalid Dashboard - -
-
-
-
-
-`; - exports[`App Route /home authenticated 1`] = `
{ order: `${orderBy} ${order}`, manifest_type: TYPE_MANIFEST_SOFTWARE, search, - active: active, + active, }, token ); @@ -246,15 +247,21 @@ const MainForm = () => { - - Active - Archived - + + Active + Archived + +