aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/tests
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2017-04-24 12:40:37 -0700
committerGravatar GitHub <noreply@github.com>2017-04-24 12:40:37 -0700
commitfba2acd72e8cbf138912295df227ee2c914158c3 (patch)
treee67673627fad3a5945f90abcd6cf94b1b9d4eb67 /php/tests
parente64b618b2132237f9901da0dc76bb0d50ac35d71 (diff)
Add nested enum descriptor in php rumtime. (#3009)
Diffstat (limited to 'php/tests')
-rw-r--r--php/tests/generated_class_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/tests/generated_class_test.php b/php/tests/generated_class_test.php
index 554d2bea..21ee8490 100644
--- a/php/tests/generated_class_test.php
+++ b/php/tests/generated_class_test.php
@@ -839,7 +839,8 @@ class GeneratedClassTest extends TestBase
public function testMessageWithoutNamespace()
{
$m = new TestMessage();
- $m->setOptionalNoNamespaceMessage(new NoNameSpaceMessage());
+ $sub = new NoNameSpaceMessage();
+ $m->setOptionalNoNamespaceMessage($sub);
$m->getRepeatedNoNamespaceMessage()[] = new NoNameSpaceMessage();
$n = new NoNamespaceMessage();