Skip to content

Commit c185c60

Browse files
committed
merged with 2.2
2 parents 1bd1978 + 5c826ce commit c185c60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Codeception/Module/Redis.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ public function haveInRedis($type, $key, $value)
323323
*/
324324
public function dontSeeInRedis($key, $value = null)
325325
{
326-
$this->assertFalse((bool)
327-
$this->checkKeyExists($key, $value),
326+
$this->assertFalse(
327+
(bool) $this->checkKeyExists($key, $value),
328328
"The key \"$key\" exists" . ($value ? ' and its value matches the one provided' : '')
329329
);
330330
}
@@ -360,8 +360,8 @@ public function dontSeeInRedis($key, $value = null)
360360
*/
361361
public function dontSeeRedisKeyContains($key, $item, $itemValue = null)
362362
{
363-
$this->assertFalse((bool)
364-
$this->checkKeyContains($key, $item, $itemValue),
363+
$this->assertFalse(
364+
(bool) $this->checkKeyContains($key, $item, $itemValue),
365365
"The key \"$key\" contains " . (
366366
is_null($itemValue)
367367
? "\"$item\""
@@ -396,8 +396,8 @@ public function dontSeeRedisKeyContains($key, $item, $itemValue = null)
396396
*/
397397
public function seeInRedis($key, $value = null)
398398
{
399-
$this->assertTrue((bool)
400-
$this->checkKeyExists($key, $value),
399+
$this->assertTrue(
400+
(bool) $this->checkKeyExists($key, $value),
401401
"Cannot find key \"$key\"" . ($value ? ' with the provided value' : '')
402402
);
403403
}
@@ -460,8 +460,8 @@ public function sendCommandToRedis($command)
460460
*/
461461
public function seeRedisKeyContains($key, $item, $itemValue = null)
462462
{
463-
$this->assertTrue((bool)
464-
$this->checkKeyContains($key, $item, $itemValue),
463+
$this->assertTrue(
464+
(bool) $this->checkKeyContains($key, $item, $itemValue),
465465
"The key \"$key\" does not contain " . (
466466
is_null($itemValue)
467467
? "\"$item\""

0 commit comments

Comments
 (0)