Explorar el Código

rename duplicate testMessageSetNullFail function (#3669)

the testMessageSetNullFail function was declared twice.
So I renamed one to testMessageSetNullFailMap
Pat Moroney hace 7 años
padre
commit
d65d5821bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      php/tests/undefined_test.php

+ 1 - 1
php/tests/undefined_test.php

@@ -909,7 +909,7 @@ class UndefinedTest extends PHPUnit_Framework_TestCase
     /**
      * @expectedException PHPUnit_Framework_Error
      */
-    public function testMessageSetNullFail()
+    public function testMessageSetNullFailMap()
     {
        $arr =
            new MapField(GPBType::INT32, GPBType::MESSAGE, TestMessage::class);