Skip to content

Commit 4cf0a84

Browse files
author
Matias Melograno
committed
added cleaning for key created
1 parent 8690187 commit 4cf0a84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Suite/Adapter/RedisAdapterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function testRedisWithParametersAndPrefix()
7878
$value = $predis->getItem('this_is_a_test_key');
7979
$this->assertEquals('this-is-a-test-value', $value->get());
8080

81-
$predisClient->del('this_is_a_test_key');
81+
$predisClient->del('test-redis-assertion.this_is_a_test_key');
8282
}
8383

8484
public function testRedisWithParametersPrefixAndSentinels()
@@ -100,7 +100,7 @@ public function testRedisWithParametersPrefixAndSentinels()
100100
'host' => REDIS_HOST,
101101
'port' => REDIS_PORT,
102102
]);
103-
$predisClient->set('this_is_a_test_key', 'this-is-a-test-value');
103+
$predisClient->set('test-redis-assertion.this_is_a_test_key', 'this-is-a-test-value');
104104

105105
$value = $predis->getItem('this_is_a_test_key');
106106
$this->assertEquals('this-is-a-test-value', $value->get());

0 commit comments

Comments
 (0)