From 22480c035bc0753bea98ff91377edc1d9d799f57 Mon Sep 17 00:00:00 2001 From: "K. Adam White" Date: Thu, 15 Aug 2019 17:20:02 +0000 Subject: [PATCH] REST API: Add test class file incorrectly omitted from [45807]. Props @TimothyBlynJacobs. See #43392. git-svn-id: https://develop.svn.wordpress.org/trunk@45808 602fd350-edb4-49c9-b593-d223f7449a82 --- .../class-jsonserializable-object.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/phpunit/includes/class-jsonserializable-object.php diff --git a/tests/phpunit/includes/class-jsonserializable-object.php b/tests/phpunit/includes/class-jsonserializable-object.php new file mode 100644 index 0000000000..eb4ae5c3af --- /dev/null +++ b/tests/phpunit/includes/class-jsonserializable-object.php @@ -0,0 +1,21 @@ +data = $data; + } + + public function jsonSerialize() { + return $this->data; + } +}