Преглед на файлове

[tests] Adapt for testing with HHVM.

Daniele Alessandri преди 11 години
родител
ревизия
838e6af403
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  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()
     {