Skip to content

Commit 302ba11

Browse files
author
Niklas Forst
committed
fix site tests
1 parent 2305ee2 commit 302ba11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/SiteTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ public function test_symlink_creates_symlink_to_given_path()
269269
$files = Mockery::mock(Filesystem::class);
270270
$files->shouldReceive('ensureDirExists')->once()->with(VALET_HOME_PATH.'/Sites', user());
271271
$config = Mockery::mock(Configuration::class);
272+
$config->shouldReceive('read')
273+
->once()
274+
->andReturn(['tld' => 'other']);
272275
$config->shouldReceive('prependPath')->once()->with(VALET_HOME_PATH.'/Sites');
273276
$files->shouldReceive('symlinkAsUser')->once()->with('target', VALET_HOME_PATH.'/Sites/link');
274277

0 commit comments

Comments
 (0)