diff --git a/tests/Unit/Presets/LaravelTest.php b/tests/Unit/Presets/LaravelTest.php index 5cc8480..bf9e4a2 100644 --- a/tests/Unit/Presets/LaravelTest.php +++ b/tests/Unit/Presets/LaravelTest.php @@ -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()); @@ -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()); diff --git a/tests/Unit/Presets/PackageTest.php b/tests/Unit/Presets/PackageTest.php index 6431d4f..ff83bed 100644 --- a/tests/Unit/Presets/PackageTest.php +++ b/tests/Unit/Presets/PackageTest.php @@ -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()); @@ -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());