Skip to content

Commit

Permalink
Correct secondary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Sep 11, 2024
1 parent 4d57f4e commit f473596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/includes/Helpers/TransientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_set_transient_use_default(): void {
->with( $test_transient_name, 'value', 999 )
->andReturnTrue();

\WP_Mock::userFunction( 'update_transient' )
\WP_Mock::userFunction( 'update_option' )
->never();

Transient::set( $test_transient_name, 'value', 999 );
Expand Down

0 comments on commit f473596

Please sign in to comment.