Jelajahi Sumber

[tests] Adapt for testing with HHVM.

Daniele Alessandri 11 tahun lalu
induk
melakukan
838e6af403
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      tests/Predis/Command/RawCommandTest.php

+ 4 - 1
tests/Predis/Command/RawCommandTest.php

@@ -69,9 +69,12 @@ class RawCommandTest extends PredisTestCase
     }
 
     /**
+     * The signature of RawCommand::create() requires one argument which is the
+     * ID of the command (other arguments are fetched dinamically). If the first
+     * argument is missing, PHP emits an E_WARNING.
+     *
      * @group disconnected
      * @expectedException PHPUnit_Framework_Error_Warning
-     * @expectedExceptionMessage Missing argument 1 for Predis\Command\RawCommand::create()
      */
     public function testPHPWarningOnMissingCommandIDWithStaticCreate()
     {