From 5657687ac9649c1708f0348ea800e4ca2dedbafe Mon Sep 17 00:00:00 2001 From: alenoosh Date: Wed, 24 Jun 2015 16:36:57 +0430 Subject: [PATCH] Some changes are applied to unit tests. --- tests/LoginTest.php | 2 +- tests/LogoutTest.php | 2 +- tests/ProfileEditTest.php | 2 +- tests/ResetPasswordTest.php | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/LoginTest.php b/tests/LoginTest.php index dd4988b..76dacd2 100755 --- a/tests/LoginTest.php +++ b/tests/LoginTest.php @@ -11,7 +11,7 @@ public function test_login() { $this->visit('/panel/login') ->type('admin@change.me', 'email') - ->type('oooooo', 'password') + ->type('12345', 'password') ->press('Login') ->see('Dashboard'); diff --git a/tests/LogoutTest.php b/tests/LogoutTest.php index 5d035f1..b048476 100755 --- a/tests/LogoutTest.php +++ b/tests/LogoutTest.php @@ -8,7 +8,7 @@ public function test_logout() { $this->visit('/panel/login') ->type('admin@change.me', 'email') - ->type('oooooo', 'password') + ->type('12345', 'password') ->press('Login') ->see('Dashboard') ->click('Log out') diff --git a/tests/ProfileEditTest.php b/tests/ProfileEditTest.php index 1e894d0..73c92a7 100755 --- a/tests/ProfileEditTest.php +++ b/tests/ProfileEditTest.php @@ -11,7 +11,7 @@ public function test_edit_profile() { $this->visit('/panel/login') ->type('admin@change.me', 'email') - ->type('oooooo', 'password') + ->type('12345', 'password') ->press('Login') ->see('Dashboard') ->click('Profile Edit') diff --git a/tests/ResetPasswordTest.php b/tests/ResetPasswordTest.php index cd667cc..9dd4881 100755 --- a/tests/ResetPasswordTest.php +++ b/tests/ResetPasswordTest.php @@ -11,7 +11,7 @@ public function test_reset_password() { $this->visit('/panel/login') ->type('admin@change.me', 'email') - ->type('oooooo', 'password') + ->type('12345', 'password') ->press('Login') ->see('Dashboard') ->click('Reset Password') @@ -24,12 +24,12 @@ public function test_reset_password() $this->visit('/panel/login') ->type('admin@change.me', 'email') - ->type('oooooo', 'password') + ->type('12345', 'password') ->press('Login') ->see('Dashboard') ->click('Reset Password') ->type('admin@change.me', 'email') - ->type('oooooo', 'current_password') + ->type('12345', 'current_password') ->type('pppppp', 'password') ->type('ppppp', 'password_confirmation') ->press('Change Password') @@ -37,12 +37,12 @@ public function test_reset_password() $this->visit('/panel/login') ->type('admin@change.me', 'email') - ->type('oooooo', 'password') + ->type('12345', 'password') ->press('Login') ->see('Dashboard') ->click('Reset Password') ->type('admin@change.me', 'email') - ->type('oooooo', 'current_password') + ->type('12345', 'current_password') ->type('pppppp', 'password') ->type('pppppp', 'password_confirmation') ->press('Change Password')