We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c18cc commit 475d29cCopy full SHA for 475d29c
tests/mutex/PredisMutexTest.php
@@ -42,7 +42,7 @@ protected function setUp()
42
private function getPredisConfig()
43
{
44
if (getenv("REDIS_URIS") === false) {
45
- return "redis://localhost:6379";
+ return "tcp://localhost:6379";
46
}
47
48
$servers = explode(",", getenv("REDIS_URIS"));
@@ -77,7 +77,7 @@ public function testWorksNormally()
77
78
$mutex = new PredisMutex([$this->client], "test");
79
80
- $mutex->synchronized(function(): void {
+ $mutex->synchronized(function (): void {
81
$this->expectNotToPerformAssertions();
82
});
83
0 commit comments