|
@@ -75,6 +75,15 @@ class ServerEvalSHATest extends CommandTestCase
|
|
|
$this->assertSame($expected, $command->getArguments());
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @group disconnected
|
|
|
+ */
|
|
|
+ public function testGetScriptHash()
|
|
|
+ {
|
|
|
+ $command = $this->getCommandWithArgumentsArray(array($sha1 = sha1('return true')), 0);
|
|
|
+ $this->assertSame($sha1, $command->getScriptHash());
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* @group connected
|
|
|
*/
|