Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Dec 14, 2024
1 parent cbf5cfa commit 37a3183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Console/stubs/testbench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ workbench:
- create-sqlite-db
- db-wipe
- migrate-fresh:
--seed: true
--seeder: Workbench\Database\Seeders\DatabaseSeeder
--seed: true
assets:
- laravel-assets
sync: []
3 changes: 1 addition & 2 deletions tests/Console/CommandTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,13 @@ protected function assertCommandExecutedWithInstall(): void
$config = Config::loadFromYaml($workingPath);

$this->assertSame(default_skeleton_path(), $config['laravel']);
$this->assertFalse($config->seeders);
$this->assertSame([DatabaseSeeder::class], $config->seeders);
$this->assertSame([
'asset-publish',
'create-sqlite-db',
'db-wipe',
['migrate-fresh' => [
'--seed' => true,
'--seeder' => DatabaseSeeder::class,
]],
], $config->getWorkbenchAttributes()['build']);
$this->assertSame([
Expand Down

0 comments on commit 37a3183

Please sign in to comment.