mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
Merge pull request #23 from vatseek/patch-2
Update tests/behat/features/bootstrap/BaseFeatureContext.php
This commit is contained in:
commit
7db26689cf
|
@ -183,7 +183,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());
|
||||
|
|
Loading…
Reference in a new issue