diff --git a/tests/unit/Event/EventTest.php b/tests/unit/Event/EventTest.php index a430a7fdc6..a84800a28e 100644 --- a/tests/unit/Event/EventTest.php +++ b/tests/unit/Event/EventTest.php @@ -30,7 +30,7 @@ class EventTest extends TestCase $dsn = App::getEnv('_APP_CONNECTIONS_QUEUE', $fallbackForRedis); $dsn = explode('=', $dsn); - $dsn = $dsn[0] ?? ''; + $dsn = $dsn[1] ?? ''; $dsn = new DSN($dsn); $connection = new Queue\Connection\Redis($dsn->getHost(), $dsn->getPort()); $this->queue = 'v1-tests' . uniqid();