aboutsummaryrefslogtreecommitdiff
path: root/php/tests/generated_class_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/tests/generated_class_test.php')
-rw-r--r--php/tests/generated_class_test.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/php/tests/generated_class_test.php b/php/tests/generated_class_test.php
index b42397bb..be641b6e 100644
--- a/php/tests/generated_class_test.php
+++ b/php/tests/generated_class_test.php
@@ -876,6 +876,7 @@ class GeneratedClassTest extends TestBase
$m = new \Foo\TestMessage_Empty();
$m = new \Foo\PBEmpty();
$m = new \PrefixEmpty();
+ $m = new \Foo\PBARRAY();
}
#########################################################
@@ -886,8 +887,8 @@ class GeneratedClassTest extends TestBase
{
$m = (new TestMessage())
->setOptionalInt32(1)
- ->setOptionalInt64(2);
+ ->setOptionalUInt32(2);
$this->assertSame(1, $m->getOptionalInt32());
- $this->assertSame(2, $m->getOptionalInt64());
+ $this->assertSame(2, $m->getOptionalUInt32());
}
}