diff --git a/tests/behat/features/bootstrap/BaseFeatureContext.php b/tests/behat/features/bootstrap/BaseFeatureContext.php index 2c3b1cee..78f9650a 100644 --- a/tests/behat/features/bootstrap/BaseFeatureContext.php +++ b/tests/behat/features/bootstrap/BaseFeatureContext.php @@ -160,7 +160,7 @@ class BaseFeatureContext extends BehatContext throw new ExpectationException( sprintf('User %s not found', $sUserLogin), $this->getMinkContext()->getSession()); } - $this->getEngine()->User_Authorization($oUser, true); + $this->getEngine()->User_Authorization($oUser, false); $oSession = $this->getEngine()->User_GetSessionByUserId($oUser->getId()); if (!$oSession) { throw new ExpectationException( 'Session non created', $this->getMinkContext()->getSession());