minor #34137 [Messenger] Fix redis test (chalasr)

This PR was merged into the 4.4 branch.

Discussion
----------

[Messenger] Fix redis test

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too.)
 - Features and deprecations must be submitted against branch 4.4.
 - Legacy code removals go to the master branch.
-->

Commits
-------

3fdaf970c3 [Messenger] Fix redis test
This commit is contained in:
Robin Chalas 2019-10-27 08:01:46 +01:00
commit 54e1d12f92

View File

@ -117,7 +117,7 @@ class ConnectionTest extends TestCase
{
$redis = new \Redis();
Connection::fromDsn('redis://password@localhost/queue?dbindex=2', [], $redis);
Connection::fromDsn('redis://localhost/queue?dbindex=2', [], $redis);
$this->assertSame(2, $redis->getDbNum());
}