mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-01-13 23:40:16 -06:00
In laravel 7 and onward, seeder naming convention was changed to be singular and without `Table`.
35 lines
983 B
PHP
35 lines
983 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* NOTICE OF LICENSE.
|
|
*
|
|
* UNIT3D Community Edition is open-sourced software licensed under the GNU Affero General Public License v3.0
|
|
* The details is bundled with this project in the file LICENSE.txt.
|
|
*
|
|
* @project UNIT3D Community Edition
|
|
*
|
|
* @author HDVinnie <hdinnovations@protonmail.com>
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
|
|
*/
|
|
|
|
/**
|
|
* @see App\Console\Commands\AutoNerdStat
|
|
*/
|
|
|
|
use Database\Seeders\BotSeeder;
|
|
use Database\Seeders\ChatroomSeeder;
|
|
use Database\Seeders\UserSeeder;
|
|
|
|
it('runs successfully', function (): void {
|
|
$this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.');
|
|
|
|
$this->seed(UserSeeder::class);
|
|
$this->seed(ChatroomSeeder::class);
|
|
$this->seed(BotSeeder::class);
|
|
|
|
$this->artisan('auto:nerdstat')
|
|
->assertExitCode(0)
|
|
->run();
|
|
});
|