1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 16:10:08 +01:00

Merge branch 'master' into tld-alias-for-domain-command

This commit is contained in:
Chris Brown
2018-06-22 14:03:56 -04:00
committed by GitHub
17 changed files with 266 additions and 30 deletions

View File

@@ -28,7 +28,7 @@ public function test_install_nginx_configuration_places_nginx_base_configuration
$files->shouldReceive('putAsUser')->andReturnUsing(function ($path, $contents) {
$this->assertSame('/usr/local/etc/nginx/nginx.conf', $path);
$this->assertTrue(strpos($contents, 'include '.VALET_HOME_PATH.'/Nginx/*') !== false);
$this->assertContains('include '.VALET_HOME_PATH.'/Nginx/*', $contents);
})->once();
swap(Filesystem::class, $files);