From 8bd4345c368110c3eeeff51300171fe0bb43978f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 23 Feb 2017 09:22:09 +0100 Subject: [PATCH] Fixed text auth without perms --- e2e/suites/auth/auth.e2e.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/suites/auth/auth.e2e.js b/e2e/suites/auth/auth.e2e.js index ff4557c4..4345e5b1 100644 --- a/e2e/suites/auth/auth.e2e.js +++ b/e2e/suites/auth/auth.e2e.js @@ -47,7 +47,7 @@ describe('auth', function() { let url = await browser.getCurrentUrl(); - expect(url).to.be.equal(browser.params.glob.host + 'login?next=' + encodeURIComponent('/' + path)); + expect(url).to.be.equal(browser.params.glob.host + 'login?unauthorized&next=' + encodeURIComponent('/' + path)); }); it("login redirect to the previous one", async function() {