1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

Fix unit tests

This commit is contained in:
Matej Bačo 2024-04-17 18:12:43 +02:00
parent 7ad7d42106
commit 55fa230224
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class EventTest extends TestCase
public function setUp(): void
{
$fallbackForRedis = URL::unparse([
$fallbackForRedis = 'redis_main=' . URL::unparse([
'scheme' => 'redis',
'host' => System::getEnv('_APP_REDIS_HOST', 'redis'),
'port' => System::getEnv('_APP_REDIS_PORT', '6379'),

View file

@ -19,7 +19,7 @@ class StatsTest extends TestCase
public function setUp(): void
{
$env = System::getEnv('_APP_CONNECTIONS_QUEUE', AppwriteURL::unparse([
$env = System::getEnv('_APP_CONNECTIONS_QUEUE', 'redis_main=' . AppwriteURL::unparse([
'scheme' => 'redis',
'host' => System::getEnv('_APP_REDIS_HOST', 'redis'),
'port' => System::getEnv('_APP_REDIS_PORT', '6379'),