Skip to content

Commit ca5dfed

Browse files
committed
refactor: use Request::METHOD_GET for consistency in testPredisReplication
1 parent 3d9061f commit ca5dfed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Functional/IntegrationTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
namespace Snc\RedisBundle\Tests\Functional;
1515

16+
use Symfony\Component\HttpFoundation\Request;
1617
use Snc\RedisBundle\DataCollector\RedisDataCollector;
1718
use Snc\RedisBundle\Logger\RedisLogger;
1819
use Snc\RedisBundle\Tests\Functional\App\Kernel;
@@ -80,7 +81,7 @@ public function testIntegration(): void
8081
/** @group legacy */
8182
public function testPredisReplication(): void
8283
{
83-
$this->client->request('GET', '/predis_replication');
84+
$this->client->request(Request::METHOD_GET, '/predis_replication');
8485

8586
$this->assertSame(Response::HTTP_OK, $this->client->getResponse()->getStatusCode());
8687
}

0 commit comments

Comments
 (0)