mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 17:10:05 +01:00
Refactor where legacy drivers are pulled in
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Valet\Drivers\BedrockValetDriver;
|
||||
use Valet\Drivers\ValetDriver;
|
||||
|
||||
class ValetDriverTest extends BaseDriverTestCase
|
||||
@@ -17,10 +18,6 @@ public function test_it_assigns_drivers_to_given_project()
|
||||
{
|
||||
$assignedDriver = ValetDriver::assign($this->projectDir('bedrock'), 'my-site', '/');
|
||||
|
||||
// For v4:
|
||||
// $this->assertEquals('Valet\Drivers\BedrockValetDriver', get_class($assignedDriver));
|
||||
|
||||
// For now, because legacy:
|
||||
$this->assertEquals('BedrockValetDriver', get_class($assignedDriver));
|
||||
$this->assertEquals(BedrockValetDriver::class, get_class($assignedDriver));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user