mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Revert to using port instead of socket to see if it helps stale page issue
This commit is contained in:
@@ -22,14 +22,14 @@ public function tearDown()
|
||||
Mockery::close();
|
||||
}
|
||||
|
||||
public function test_fpm_is_configured_with_the_correct_user_group_and_socket()
|
||||
public function test_fpm_is_configured_with_the_correct_user_group_and_port()
|
||||
{
|
||||
copy(__DIR__.'/files/fpm.conf', __DIR__.'/output/fpm.conf');
|
||||
resolve(StubForUpdatingFpmConfigFiles::class)->updateConfiguration();
|
||||
$contents = file_get_contents(__DIR__.'/output/fpm.conf');
|
||||
$this->assertTrue(strpos($contents, sprintf("\nuser = %s", user())) !== false);
|
||||
$this->assertTrue(strpos($contents, "\ngroup = staff") !== false);
|
||||
$this->assertTrue(strpos($contents, "\nlisten = /var/run/fpm-valet.socket") !== false);
|
||||
$this->assertTrue(strpos($contents, "\nlisten = 127.0.0.1:9000") !== false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user