mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
Clean up DX for fetch-share-url
This commit is contained in:
@@ -949,6 +949,18 @@ public function test_it_can_read_php_rc_version()
|
||||
$this->assertEquals('php@8.0', $siteMock->phpRcVersion('site2'));
|
||||
$this->assertEquals(null, $siteMock->phpRcVersion('site3')); // Site doesn't exists
|
||||
}
|
||||
|
||||
public function test_it_appends_tld_to_domain()
|
||||
{
|
||||
$site = resolve(Site::class);
|
||||
$this->assertEquals('symposium.test', $site->domain('symposium'));
|
||||
}
|
||||
|
||||
public function test_it_doesnt_double_append_tld_to_domain()
|
||||
{
|
||||
$site = resolve(Site::class);
|
||||
$this->assertEquals('symposium.test', $site->domain('symposium.test'));
|
||||
}
|
||||
}
|
||||
|
||||
class CommandLineFake extends CommandLine
|
||||
|
||||
Reference in New Issue
Block a user