From dda3ec872f36480a48e31e16fe3f080b79b5cd3a Mon Sep 17 00:00:00 2001 From: Al Imran Ahmed Date: Wed, 14 Jul 2021 01:54:07 +0600 Subject: [PATCH] Formatted --- app/Models/Subscriber.php | 1 - routes/web.php | 1 - tests/Feature/CommentTest.php | 1 - tests/Unit/Models/ArticleTest.php | 2 +- tests/Unit/Models/CommentTest.php | 2 +- 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/Models/Subscriber.php b/app/Models/Subscriber.php index 6f036239..213dd052 100644 --- a/app/Models/Subscriber.php +++ b/app/Models/Subscriber.php @@ -10,5 +10,4 @@ class Subscriber extends Model use HasFactory; protected $guarded = ['id']; - } diff --git a/routes/web.php b/routes/web.php index 148548da..8dd755f8 100755 --- a/routes/web.php +++ b/routes/web.php @@ -32,4 +32,3 @@ Route::get('admin/login', 'AuthController@showLoginForm')->name('login-form'); Route::post('admin/login', 'AuthController@login')->name('login'); Route::get('admin/logout', 'AuthController@logout')->name('logout'); - diff --git a/tests/Feature/CommentTest.php b/tests/Feature/CommentTest.php index d7b46d1f..9e481c1c 100644 --- a/tests/Feature/CommentTest.php +++ b/tests/Feature/CommentTest.php @@ -13,7 +13,6 @@ class CommentTest extends TestCase { - protected $user; protected $category; diff --git a/tests/Unit/Models/ArticleTest.php b/tests/Unit/Models/ArticleTest.php index 93844672..bd3c2f17 100644 --- a/tests/Unit/Models/ArticleTest.php +++ b/tests/Unit/Models/ArticleTest.php @@ -6,8 +6,8 @@ use App\Models\Category; use App\Models\User; use Illuminate\Foundation\Testing\DatabaseTransactions; -use Tests\TestCase; use function now; +use Tests\TestCase; class ArticleTest extends TestCase { diff --git a/tests/Unit/Models/CommentTest.php b/tests/Unit/Models/CommentTest.php index 64ecde34..a78bdc72 100644 --- a/tests/Unit/Models/CommentTest.php +++ b/tests/Unit/Models/CommentTest.php @@ -7,8 +7,8 @@ use App\Models\Comment; use App\Models\User; use Illuminate\Foundation\Testing\DatabaseTransactions; -use Tests\TestCase; use function now; +use Tests\TestCase; class CommentTest extends TestCase {