Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Sep 24, 2024
1 parent b15d678 commit 12185c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test-class-activitypub-activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 12185c0

Please sign in to comment.