Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
ca64e2d4
Unverified
Commit
ca64e2d4
authored
Dec 16, 2017
by
Viral Solani
Committed by
GitHub
Dec 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #85 from viralsolani/analysis-qMD2VL
Apply fixes from StyleCI
parents
f19c71af
a251c3d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
AuthTest.php
tests/Feature/AuthTest.php
+4
-7
No files found.
tests/Feature/AuthTest.php
View file @
ca64e2d4
...
...
@@ -3,7 +3,6 @@
namespace
Tests\Feature
;
use
Tests\BrowserKitTestCase
;
use
Illuminate\Foundation\Testing\DatabaseMigrations
;
class
AuthTest
extends
BrowserKitTestCase
{
...
...
@@ -11,9 +10,9 @@ class AuthTest extends BrowserKitTestCase
public
function
login_page_loads_properly
()
{
$this
->
visit
(
'/login'
)
->
see
(
"Email"
)
->
see
(
"Password"
)
->
see
(
"Login"
)
->
see
(
'Email'
)
->
see
(
'Password'
)
->
see
(
'Login'
)
->
dontSee
(
'You are logged in!'
);
}
...
...
@@ -27,7 +26,7 @@ class AuthTest extends BrowserKitTestCase
->
see
(
'The password field is required.'
);
}
/** @test */
/** @test */
/*public function test_login_failure_with_wrong_inputs()
{
$this->visit("/login")
...
...
@@ -38,7 +37,6 @@ class AuthTest extends BrowserKitTestCase
->see('These credentials do not match our records.');
}*/
/** @test */
public
function
users_can_login
()
{
...
...
@@ -49,5 +47,4 @@ class AuthTest extends BrowserKitTestCase
//->press('Login')
->
seePageIs
(
'/login'
);
}
}
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