From bd4639e98e6777d037ee5f57acc39ffc000e04db Mon Sep 17 00:00:00 2001 From: bscheshirwork Date: Fri, 14 Sep 2018 11:51:05 +0300 Subject: [PATCH] Update GdprCest.php (#239) Remove bad 3x checks Just add check 404 code --- tests/functional/GdprCest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/functional/GdprCest.php b/tests/functional/GdprCest.php index 855c842..1ae2e91 100644 --- a/tests/functional/GdprCest.php +++ b/tests/functional/GdprCest.php @@ -162,9 +162,6 @@ class GdprCest $this->_prepareModule(false, false,false); $I->amLoggedInAs(1); $I->amOnRoute('/user/settings/privacy'); - $I->see('Not Found'); - $I->amOnRoute('/user/settings/privacy'); - $I->see('Not Found');$I->amOnRoute('/user/settings/privacy'); - $I->see('Not Found'); + $I->seeResponseCodeIs(404); } }