We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead7fbc commit 6d14caaCopy full SHA for 6d14caa
tests/phpunit/tests/includes/handler/class-test-create.php
@@ -484,7 +484,7 @@ public function test_create_post_disabled_by_option() {
484
485
// Verify no post was created.
486
$created_object = Posts::get_by_guid( 'https://example.com/objects/note_disabled' );
487
- $this->assertTrue( \is_wp_error( $created_object ) || \is_null( $created_object ) );
+ $this->assertTrue( \is_wp_error( $created_object ) );
488
489
\remove_filter( 'activitypub_pre_http_get_remote_object', $mock_callback );
490
}
0 commit comments