Skip to content

Commit ead7fbc

Browse files
pfefferleCopilot
andauthored
Update tests/phpunit/tests/includes/handler/class-test-create.php
Co-authored-by: Copilot <[email protected]>
1 parent 10667ff commit ead7fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/includes/handler/class-test-create.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ public function test_create_post_disabled_by_option() {
496496
*/
497497
public function test_create_post_enabled_by_option() {
498498
// Enable the option.
499-
\update_option( 'activitypub_create_posts', true );
499+
\update_option( 'activitypub_create_posts', '1' );
500500

501501
// Mock HTTP request for Remote_Actors::fetch_by_uri.
502502
$mock_callback = function ( $pre, $url_or_object ) {

0 commit comments

Comments
 (0)