Commit 2f00f1ca authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent fa096ef8
...@@ -17,7 +17,7 @@ function generateUuid() ...@@ -17,7 +17,7 @@ function generateUuid()
return uuid::uuid4(); return uuid::uuid4();
} }
if (! function_exists('homeRoute')) { if (!function_exists('homeRoute')) {
/** /**
* Return the route to the "home" page depending on authentication/authorization status. * Return the route to the "home" page depending on authentication/authorization status.
......
...@@ -50,7 +50,7 @@ class ResetPasswordController extends Controller ...@@ -50,7 +50,7 @@ class ResetPasswordController extends Controller
*/ */
public function showResetForm($token = null) public function showResetForm($token = null)
{ {
if (! $token) { if (!$token) {
return redirect()->route('frontend.auth.password.email'); return redirect()->route('frontend.auth.password.email');
} }
...@@ -95,7 +95,8 @@ class ResetPasswordController extends Controller ...@@ -95,7 +95,8 @@ class ResetPasswordController extends Controller
/** /**
* Get the response for a successful password reset. * Get the response for a successful password reset.
* *
* @param string $response * @param string $response
*
* @return \Illuminate\Http\RedirectResponse * @return \Illuminate\Http\RedirectResponse
*/ */
protected function sendResetResponse($response) protected function sendResetResponse($response)
......
...@@ -2,16 +2,13 @@ ...@@ -2,16 +2,13 @@
namespace Tests\Feature\Auth; namespace Tests\Feature\Auth;
use Tests\BrowserKitTestCase; use App\Notifications\Frontend\Auth\UserNeedsPasswordReset;
use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Event;
use App\Events\Frontend\Auth\UserLoggedIn;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use App\Notifications\Frontend\Auth\UserNeedsPasswordReset; use Tests\BrowserKitTestCase;
class ResetPasswordTest extends BrowserKitTestCase class ResetPasswordTest extends BrowserKitTestCase
{ {
/** @test */ /** @test */
public function forgot_password_page_loads_properly() public function forgot_password_page_loads_properly()
{ {
...@@ -73,5 +70,4 @@ class ResetPasswordTest extends BrowserKitTestCase ...@@ -73,5 +70,4 @@ class ResetPasswordTest extends BrowserKitTestCase
->press('Reset Password') ->press('Reset Password')
->see($this->user->first_name); ->see($this->user->first_name);
} }
} }
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