Unverified Commit cf420162 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #94 from viralsolani/analysis-8LDQ4w

Apply fixes from StyleCI
parents 01dbc4f5 8817c374
...@@ -24,7 +24,7 @@ $factory->define(User::class, function (Generator $faker) { ...@@ -24,7 +24,7 @@ $factory->define(User::class, function (Generator $faker) {
'email' => $faker->safeEmail, 'email' => $faker->safeEmail,
'password' => $password ?: $password = bcrypt('secret'), 'password' => $password ?: $password = bcrypt('secret'),
'confirmation_code' => md5(uniqid(mt_rand(), true)), 'confirmation_code' => md5(uniqid(mt_rand(), true)),
'remember_token' => str_random(10) 'remember_token' => str_random(10),
]; ];
}); });
...@@ -52,7 +52,6 @@ $factory->state(User::class, 'unconfirmed', function () { ...@@ -52,7 +52,6 @@ $factory->state(User::class, 'unconfirmed', function () {
]; ];
}); });
/* /*
* Roles * Roles
*/ */
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
namespace Tests\Feature; namespace Tests\Feature;
use App\Events\Frontend\Auth\UserLoggedIn;
use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Auth;
use Tests\BrowserKitTestCase;
use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Event;
use App\Events\Frontend\Auth\UserLoggedIn; use Tests\BrowserKitTestCase;
class AuthTest extends BrowserKitTestCase class AuthTest extends BrowserKitTestCase
{ {
......
...@@ -4,8 +4,8 @@ namespace Tests; ...@@ -4,8 +4,8 @@ namespace Tests;
use App\Models\Access\Role\Role; use App\Models\Access\Role\Role;
use App\Models\Access\User\User; use App\Models\Access\User\User;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase; use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Illuminate\Support\Facades\Artisan;
abstract class TestCase extends BaseTestCase abstract class TestCase extends BaseTestCase
{ {
......
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