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