mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 10:23:30 +00:00
Move V5 source, migrations, UI, scripts, and tests into documentation, then remove V5 routes, models, jobs, configuration, dependencies, and application hooks.
10 lines
523 B
PHP
10 lines
523 B
PHP
<?php
|
|
|
|
it('runs the normal development database seeder without v5 seeders', function () {
|
|
$databaseSeeder = file_get_contents(database_path('seeders/DatabaseSeeder.php'));
|
|
$developmentSeederBlock = str($databaseSeeder)->after("if (in_array(config('app.env'), ['local', 'development', 'dev'], true)) {")->before(' }')->toString();
|
|
|
|
expect($developmentSeederBlock)->toContain('DevelopmentRailpackExamplesSeeder::class')
|
|
->and($developmentSeederBlock)->not->toContain('V5DevLimaSeeder::class');
|
|
});
|