From 12185c0da048ea4809002e6d485b93c26b6dd477 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Tue, 24 Sep 2024 23:40:50 +0200 Subject: [PATCH] fix tests --- tests/test-class-activitypub-activity.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test-class-activitypub-activity.php b/tests/test-class-activitypub-activity.php index f4a4fa9db..32a1f8304 100644 --- a/tests/test-class-activitypub-activity.php +++ b/tests/test-class-activitypub-activity.php @@ -34,9 +34,10 @@ function ( $mentions ) { public function test_object_transformation() { $test_array = array( - 'id' => 'https://example.com/post/123', - 'type' => 'Note', - 'content' => 'Hello world!', + 'id' => 'https://example.com/post/123', + 'type' => 'Note', + 'content' => 'Hello world!', + 'sensitive' => false, ); $object = \Activitypub\Activity\Base_Object::init_from_array( $test_array );