-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some changes are applied to unit tests.
- Loading branch information
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ public function test_login() | |
{ | ||
$this->visit('/panel/login') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'password') | ||
->type('12345', 'password') | ||
->press('Login') | ||
->see('Dashboard'); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ public function test_logout() | |
{ | ||
$this->visit('/panel/login') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'password') | ||
->type('12345', 'password') | ||
->press('Login') | ||
->see('Dashboard') | ||
->click('Log out') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ public function test_edit_profile() | |
{ | ||
$this->visit('/panel/login') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'password') | ||
->type('12345', 'password') | ||
->press('Login') | ||
->see('Dashboard') | ||
->click('Profile Edit') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ public function test_reset_password() | |
{ | ||
$this->visit('/panel/login') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'password') | ||
->type('12345', 'password') | ||
->press('Login') | ||
->see('Dashboard') | ||
->click('Reset Password') | ||
|
@@ -24,25 +24,25 @@ public function test_reset_password() | |
|
||
$this->visit('/panel/login') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'password') | ||
->type('12345', 'password') | ||
->press('Login') | ||
->see('Dashboard') | ||
->click('Reset Password') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'current_password') | ||
->type('12345', 'current_password') | ||
->type('pppppp', 'password') | ||
->type('ppppp', 'password_confirmation') | ||
->press('Change Password') | ||
->see('Passwords not matched!!'); | ||
|
||
$this->visit('/panel/login') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'password') | ||
->type('12345', 'password') | ||
->press('Login') | ||
->see('Dashboard') | ||
->click('Reset Password') | ||
->type('[email protected]', 'email') | ||
->type('oooooo', 'current_password') | ||
->type('12345', 'current_password') | ||
->type('pppppp', 'password') | ||
->type('pppppp', 'password_confirmation') | ||
->press('Change Password') | ||
|