From 362fc8afc67ef691b1c2c4022303f57fa3ea5963 Mon Sep 17 00:00:00 2001 From: ivan3123708 Date: Mon, 2 Jul 2018 09:04:50 +0200 Subject: [PATCH] fix(challenges): fix 2nd test bug ISSUES CLOSED: #17769, #17039, #16967 --- .../advanced-express-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/06-information-security-and-quality-assurance/advanced-express-tools.json b/challenges/06-information-security-and-quality-assurance/advanced-express-tools.json index 5c9a3c27dd..4c2a7f9c1f 100644 --- a/challenges/06-information-security-and-quality-assurance/advanced-express-tools.json +++ b/challenges/06-information-security-and-quality-assurance/advanced-express-tools.json @@ -221,7 +221,7 @@ { "text": "A POST request to /login correctly redirects to /", "testString": - "getUserInput => $.post(getUserInput('url')+ '/login') .then(data => { assert.match(data, /Home page/gi, 'A login attempt at this point should redirect to the homepage since we do not have any registered users'); }, xhr => { throw new Error(xhr.statusText); })" + "getUserInput => $.post(getUserInput('url')+ '/login') .then(data => { assert.match(data, /Looks like this page is being rendered from Pug into HTML!/gi, 'A login attempt at this point should redirect to the homepage since we do not have any registered users'); }, xhr => { throw new Error(xhr.statusText); })" } ], "solutions": [],