Explorar o código

rename duplicate testMessageSetNullFail function (#3669)

the testMessageSetNullFail function was declared twice.
So I renamed one to testMessageSetNullFailMap
Pat Moroney %!s(int64=7) %!d(string=hai) anos
pai
achega
d65d5821bc
Modificáronse 1 ficheiros con 1 adicións e 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);