From a6879e853b7d99dc15aa950815e4bb6e90480e62 Mon Sep 17 00:00:00 2001 From: rejas Date: Sat, 27 Mar 2021 17:59:11 +0100 Subject: [PATCH] Fix tests --- tests/e2e/modules/calendar_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/modules/calendar_spec.js b/tests/e2e/modules/calendar_spec.js index a5cbe55a..edecf4fa 100644 --- a/tests/e2e/modules/calendar_spec.js +++ b/tests/e2e/modules/calendar_spec.js @@ -149,8 +149,8 @@ describe("Calendar module", function () { serverBasicAuth.close(done()); }); - it("should return No upcoming events", function () { - return app.client.waitUntilTextExists(".calendar", "No upcoming events.", 10000); + it("should show Unauthorized error", function () { + return app.client.waitUntilTextExists(".calendar", "Error in the calendar module. Unauthorized", 10000); }); }); });