2026-06-16 09:39:36 +00:00
|
|
|
<?php
|
|
|
|
|
|
chore(v5): archive V5 implementation and remove runtime integration
Move V5 source, migrations, UI, scripts, and tests into documentation, then remove V5 routes, models, jobs, configuration, dependencies, and application hooks.
2026-08-15 17:13:30 +00:00
|
|
|
it('runs the normal development database seeder without v5 seeders', function () {
|
2026-06-16 15:10:40 +00:00
|
|
|
$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')
|
2026-08-06 11:45:19 +00:00
|
|
|
->and($developmentSeederBlock)->not->toContain('V5DevLimaSeeder::class');
|
2026-06-16 15:10:40 +00:00
|
|
|
});
|