Commit 73a592ae authored by Vipul Basapati's avatar Vipul Basapati Committed by StyleCI Bot

Apply fixes from StyleCI

parent 48809bd4
<?php <?php
use Faker\Generator as Faker;
use App\Models\BlogTags\BlogTag;
use App\Models\Access\User\User; use App\Models\Access\User\User;
use App\Models\BlogTags\BlogTag;
use Faker\Generator as Faker;
$factory->define(BlogTag::class, function (Faker $faker) { $factory->define(BlogTag::class, function (Faker $faker) {
return [ return [
'name' => $faker->word, 'name' => $faker->word,
'status' => $faker->numberBetween(0,1), 'status' => $faker->numberBetween(0, 1),
'created_by' => function () { 'created_by' => function () {
return factory(User::class)->create()->id; return factory(User::class)->create()->id;
} },
]; ];
}); });
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
namespace Tests\Feature\Backend; namespace Tests\Feature\Backend;
use Tests\TestCase;
use App\Models\BlogTags\BlogTag; use App\Models\BlogTags\BlogTag;
use Tests\TestCase;
class ManageBlogTagsTest extends TestCase class ManageBlogTagsTest extends TestCase
{ {
......
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
namespace Tests\Unit\Models; namespace Tests\Unit\Models;
use Tests\TestCase;
use App\Models\Access\User\User; use App\Models\Access\User\User;
use App\Models\BlogCategories\BlogCategory; use App\Models\BlogCategories\BlogCategory;
use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
class BlogCategoryTest extends TestCase class BlogCategoryTest extends TestCase
{ {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
namespace Tests\Unit\Models; namespace Tests\Unit\Models;
use Tests\TestCase;
use App\Models\BlogTags\BlogTag;
use App\Models\Access\User\User; use App\Models\Access\User\User;
use App\Models\BlogTags\BlogTag;
use Tests\TestCase;
class BlogTagTest extends TestCase class BlogTagTest extends TestCase
{ {
......
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