forcing user component to logout

This commit is contained in:
Mark 2014-02-14 18:05:56 +04:00
parent d9ff05cb75
commit d4b50fcf06

View File

@ -11,6 +11,12 @@ class LoginFormTest extends TestCase
use \Codeception\Specify;
public function tearDown()
{
Yii::$app->user->logout();
parent::tearDown();
}
public function testLoginNoUser()
{
$model = $this->mockUser(null);