Skip to content

Commit

Permalink
Fix test – it was passing for the wrong reason
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Sep 11, 2024
1 parent f473596 commit 1c11134
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 @@ -206,7 +206,7 @@ public function test_should_use_transients_bluehost_cloud(): void {

\WP_Mock::userFunction( 'get_dropins' )
->once()
->andReturn( array() );
->andReturn( array( 'object-cache.php' => array() ) );

\WP_Mock::userFunction( 'set_transient' )
->once()
Expand Down

0 comments on commit 1c11134

Please sign in to comment.