1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 08:40:09 +01:00

♻️ Refactoring secure proxy stub. Fixing SiteTest.

This commit is contained in:
Mikaël Popowicz
2021-04-23 22:18:14 +02:00
parent 3098f5ff0a
commit bfe95c26dd
2 changed files with 38 additions and 1 deletions

View File

@@ -373,7 +373,7 @@ public function test_add_non_secure_proxy()
{
$config = Mockery::mock(Configuration::class);
$config->shouldReceive('read')
->andReturn(['tld' => 'test']);
->andReturn(['tld' => 'test', 'loopback' => VALET_LOOPBACK]);
swap(Configuration::class, $config);