Files
UNIT3D-Community-Edition/tests/Unit/Console/Commands/AutoNerdStatTest.php
Roardom a84c6de560 refactor: use laravel 7 seeder naming conventions
In laravel 7 and onward, seeder naming convention was changed to be singular and without `Table`.
2025-06-13 18:05:32 +00:00

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();
});