Skip to content

Commit 4730b19

Browse files
committed
fix: permission issues
1 parent 2d1fef2 commit 4730b19

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/Cases/AbstractTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
abstract class AbstractTestCase extends TestCase
3030
{
31-
const UNIX_SOCKET = '/tmp/test.sock';
31+
const UNIX_SOCKET = __DIR__ . '/test.sock';
3232

3333
public function setUp(): void
3434
{

tests/Cases/CoroutineSocketTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
class CoroutineSocketTest extends AbstractTestCase
2626
{
27-
const UNIX_SOCKET = '/tmp/test.sock';
27+
const UNIX_SOCKET = __DIR__ . '/test.sock';
2828

2929
/**
3030
* @var Process

tests/TestServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
require __DIR__ . '/../vendor/autoload.php';
2828
define('BASE_PATH', __DIR__);
2929

30-
const ADDR = '/tmp/test.sock';
30+
const ADDR = __DIR__ . '/test.sock';
3131
@unlink(ADDR);
3232
$container = new Container(new DefinitionSource([], new ScanConfig()));
3333
$container->set(ConfigInterface::class, new Config([

0 commit comments

Comments
 (0)