mirror of
https://github.com/predis/predis.git
synced 2026-10-08 21:06:44 +00:00
Add complete CI (#1036)
* Add complete CI * Fix CI * Fix spelling * Fix indentation * Fix CI * Fix CI * Revert disabling unit tests * Add coverage driver to CI * Start coverage debugging * Fix debugging ignored, and an empty message aborts the commit. * Stop debugging * Move TODO-s from source to GitHub issues * Ignore too long lines in certain files * Revert requiring php-parallel-lint/php-parallel-lint * formatting * try shorter formatting * formatting * fix syntax * try two paths? * Update .editorconfig Co-authored-by: Viktor Szépe <viktor@szepe.net> * indentation * make it a group Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
This commit is contained in:
@@ -692,7 +692,7 @@ class SentinelReplicationTest extends PredisTestCase
|
||||
'port' => '6382',
|
||||
'role' => 'slave',
|
||||
])
|
||||
->willReturn($slave1);
|
||||
->willReturn($slave1);
|
||||
|
||||
$replication = $this->getReplicationConnection('svc', [$sentinel1], $factory);
|
||||
|
||||
@@ -1165,9 +1165,9 @@ class SentinelReplicationTest extends PredisTestCase
|
||||
->withConsecutive(
|
||||
[$this->isRedisCommand('SET', ['key', $cmdGetResponse])]
|
||||
)
|
||||
->willReturnOnConsecutiveCalls(
|
||||
$cmdSetResponse
|
||||
);
|
||||
->willReturnOnConsecutiveCalls(
|
||||
$cmdSetResponse
|
||||
);
|
||||
|
||||
$slave1 = $this->getMockConnection('tcp://127.0.0.1:6382?role=slave');
|
||||
$slave1
|
||||
@@ -1180,9 +1180,9 @@ class SentinelReplicationTest extends PredisTestCase
|
||||
->withConsecutive(
|
||||
[$this->isRedisCommand('GET', ['key'])]
|
||||
)
|
||||
->willReturnOnConsecutiveCalls(
|
||||
$cmdGetResponse
|
||||
);
|
||||
->willReturnOnConsecutiveCalls(
|
||||
$cmdGetResponse
|
||||
);
|
||||
|
||||
$replication = $this->getReplicationConnection('svc', [$sentinel1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user