Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
9f857563
Commit
9f857563
authored
Feb 14, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2434 from Ragazzo/tests_improved
Tests improved
parents
9db3790b
96f2f6e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
LoginFormTest.php
apps/basic/tests/unit/models/LoginFormTest.php
+6
-0
No files found.
apps/basic/tests/unit/models/LoginFormTest.php
View file @
9f857563
...
...
@@ -11,6 +11,12 @@ class LoginFormTest extends TestCase
use
\Codeception\Specify
;
protected
function
tearDown
()
{
Yii
::
$app
->
user
->
logout
();
parent
::
tearDown
();
}
public
function
testLoginNoUser
()
{
$model
=
$this
->
mockUser
(
null
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment