mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
Move all drivers to PSR autoload, and write tests
This commit is contained in:
14
tests/Drivers/BaseDriverTestCase.php
Normal file
14
tests/Drivers/BaseDriverTestCase.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
class BaseDriverTestCase extends Yoast\PHPUnitPolyfills\TestCases\TestCase
|
||||
{
|
||||
public function projects(): array
|
||||
{
|
||||
return Filesystem::scanDir(__DIR__.'/projects');
|
||||
}
|
||||
|
||||
public function projectDir(string $name): string
|
||||
{
|
||||
return __DIR__.'/projects/'.$name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user