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 Sep 9, 2023
1 parent 23c2470 commit afb9592
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Unit/Presets/LaravelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function it_has_proper_signatures()
$this->assertFalse($preset->is('package'));

$this->assertSame($directory, $preset->basePath());
$this->assertSame($preset->basePath(), $preset->laravelPath());

$this->assertSame('App', $preset->rootNamespace());
$this->assertSame('App\Models', $preset->modelNamespace());
Expand All @@ -28,6 +29,7 @@ public function it_has_proper_signatures()
$this->assertSame('Database\Seeders', $preset->seederNamespace());

$this->assertSame("{$directory}/app", $preset->sourcePath());
$this->assertSame("{$directory}/vendor", $preset->vendorPath());
$this->assertSame("{$directory}/resources", $preset->resourcePath());
$this->assertSame("{$directory}/database/factories", $preset->factoryPath());
$this->assertSame("{$directory}/database/migrations", $preset->migrationPath());
Expand Down
2 changes: 2 additions & 0 deletions tests/Unit/Presets/PackageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function it_has_proper_signatures()
$this->assertFalse($preset->is('laravel'));

$this->assertSame($directory, $preset->basePath());
$this->assertSame("{$directory}/vendor/orchestra/testbench-core/laravel", $preset->laravelPath());

$this->assertSame('FooBar', $preset->rootNamespace());
$this->assertSame('FooBar', $preset->modelNamespace());
Expand All @@ -28,6 +29,7 @@ public function it_has_proper_signatures()
$this->assertSame('Database\Seeders', $preset->seederNamespace());

$this->assertSame("{$directory}/src", $preset->sourcePath());
$this->assertSame("{$directory}/vendor", $preset->vendorPath());
$this->assertSame("{$directory}/resources", $preset->resourcePath());
$this->assertSame("{$directory}/database/factories", $preset->factoryPath());
$this->assertSame("{$directory}/database/migrations", $preset->migrationPath());
Expand Down

0 comments on commit afb9592

Please sign in to comment.