diff --git a/tests/PhpFpmTest.php b/tests/PhpFpmTest.php index fdd8997..a22e6bb 100644 --- a/tests/PhpFpmTest.php +++ b/tests/PhpFpmTest.php @@ -29,7 +29,7 @@ public function test_fpm_is_configured_with_the_correct_user_group_and_port() $contents = file_get_contents(__DIR__.'/output/fpm.conf'); $this->assertContains(sprintf("\nuser = %s", user()), $contents); $this->assertContains("\ngroup = staff", $contents); - $this->assertContains("\nlisten = /Users/".user()."/.valet/valet.sock", $contents); + $this->assertContains("\nlisten = ".VALET_HOME_PATH."/valet.sock", $contents); } }