mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Merge branch 'master' into sync-master-2052.
This commit is contained in:
@ -844,7 +844,7 @@ TEXT;
|
||||
$this->assertIsString($key1);
|
||||
$this->assertEquals($length, strlen($key1));
|
||||
$key2 = $this->security->generateRandomKey($length);
|
||||
$this->assertIsString('string', $key2);
|
||||
$this->assertIsString($key2);
|
||||
$this->assertEquals($length, strlen($key2));
|
||||
$this->assertNotEquals($key1, $key2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user