From 1dac9d96a7f77dd94c51e46cdccc8929b0fec3f3 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 26 Jul 2024 10:19:08 +0200 Subject: [PATCH] Adapt HistoryView test To use updated message for permanently deleted history --- client/src/components/History/HistoryView.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/History/HistoryView.test.js b/client/src/components/History/HistoryView.test.js index c37f4306b124..d74ce6d885a2 100644 --- a/client/src/components/History/HistoryView.test.js +++ b/client/src/components/History/HistoryView.test.js @@ -185,7 +185,9 @@ describe("History center panel View", () => { expect(storageDashboardButtonDisabled(wrapper)).toBeFalsy(); // instead we have an alert - expect(wrapper.find("[data-description='history messages']").text()).toBe("History has been purged"); + expect(wrapper.find("[data-description='history messages']").text()).toBe( + "History has been permanently deleted" + ); }); it("should not display archived message and should be importable when user is not owner and history is archived", async () => {