We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa8ed65 + 114ebdb commit 563f9c5Copy full SHA for 563f9c5
tests/Integration/Version2x6/CommonTest.php
@@ -56,8 +56,9 @@ public function test_executeRaw() {
56
public function test_bigData() {
57
$Redis = static::$Redis;
58
59
- $string = str_repeat(microtime(true), 1024 * 1024);
+ $string = str_repeat(sha1(microtime(true)), 1024 * 1024);
60
$md5 = md5($string);
61
+ $this->assertSame(1024 * 1024 * 40, strlen($string));
62
63
$this->assertSame(true, $Redis->set('foo', $string));
64
$this->assertSame($string, $Redis->get('foo'));
0 commit comments