public function setUp() { parent::setUp(); DatabaseSeeder::$withMedia = false; $this->artisan('migrate'); $this->artisan('db:seed', ['--class' => 'ArticleSeeder']); }
public function run() { parent::run(); $this->call(FragmentSeeder::class); $this->call(UserSeeder::class); $this->call(TagSeeder::class); $this->call(ArticleSeeder::class); $this->call(PersonSeeder::class); $this->call(NewsItemSeeder::class); }
public function run() { parent::run(); Cache::flush(); $this->call(BackUserSeeder::class); $this->call(FrontUserSeeder::class); $this->call(FragmentSeeder::class); $this->call(TagSeeder::class); $this->call(ArticleSeeder::class); $this->call(PersonSeeder::class); $this->call(NewsItemSeeder::class); }