Commit c943fc28 by Mark

forcing user component to logout

parent 9db3790b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment