aboutsummaryrefslogtreecommitdiff
path: root/php/tests
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2018-08-31 10:48:17 -0700
committerGitHub <noreply@github.com>2018-08-31 10:48:17 -0700
commitd05926861b62c5e7e2ff901f39a7edcda191bf5e (patch)
tree1ea2697b6453a84c03283161c65fa75525997e0b /php/tests
parent98e26a41956bd8ec1f96f52c5b54ecfa011721ef (diff)
downloadprotobuf-d05926861b62c5e7e2ff901f39a7edcda191bf5e.tar.gz
protobuf-d05926861b62c5e7e2ff901f39a7edcda191bf5e.tar.bz2
protobuf-d05926861b62c5e7e2ff901f39a7edcda191bf5e.zip
Fix well known type class not inheriting Message (#5095)
* Fix well known type class not inheriting Message Previously, well known types only implement Message interface but not inhert it. Fix the problem by calling zend_do_inheritance * Add back commented tests
Diffstat (limited to 'php/tests')
-rw-r--r--php/tests/well_known_test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/tests/well_known_test.php b/php/tests/well_known_test.php
index 9f2661fa..6a788df2 100644
--- a/php/tests/well_known_test.php
+++ b/php/tests/well_known_test.php
@@ -42,6 +42,7 @@ class WellKnownTest extends TestBase {
public function testEmpty()
{
$msg = new GPBEmpty();
+ $this->assertTrue($msg instanceof \Google\Protobuf\Internal\Message);
}
public function testImportDescriptorProto()