Skip to content

Commit 91fce0d

Browse files
committed
Fix typo
1 parent 654dd6b commit 91fce0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/wp-includes/rest-api/auth/class-test-wp-rest-token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public function test_require_token() {
388388
$_SERVER['REQUEST_METHOD'] = 'GET';
389389
add_filter( 'rest_authentication_require_token', '__return_true' );
390390
$this->assertTrue( $this->token->require_token() );
391-
add_filter( 'rest_authentication_require_token', '__return_true' );
391+
remove_filter( 'rest_authentication_require_token', '__return_true' );
392392

393393
unset( $_SERVER['REQUEST_METHOD'] );
394394
unset( $_SERVER['REQUEST_URI'] );

0 commit comments

Comments
 (0)