Skip to content

Commit 160c7df

Browse files
committed
Fix tests
1 parent 5832681 commit 160c7df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/webapp/ui/src/eln-dmp-integration/DMPTool/__tests__/DMPDialog.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe("DMPDialog", () => {
4141
);
4242

4343
await waitFor(() => {
44-
expect(screen.getByText("No items to display")).toBeVisible();
44+
expect(screen.getByText("No DMPs")).toBeVisible();
4545
});
4646
});
4747

@@ -89,7 +89,7 @@ describe("DMPDialog", () => {
8989
await sleep(2000);
9090

9191
await waitFor(() => {
92-
expect(screen.getByText("very mine")).toBeVisible();
92+
expect(screen.getByText("mine")).toBeVisible();
9393
});
9494
});
9595
});

0 commit comments

Comments
 (0)