Skip to content

Commit

Permalink
Merge pull request #1625 from xwp/fix/yoast-connector-test
Browse files Browse the repository at this point in the history
Fix Yoast connector test
  • Loading branch information
marcinkrzeminski authored Nov 20, 2024
2 parents c47b58d + 718db58 commit 6f886fe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ public function test_wordpress_seo_installed_and_activated() {
*/
public function test_callback_added_post_meta() {

$expects = defined( 'WPSEO_VERSION' ) && version_compare( WPSEO_VERSION, '23.5', '<' ) ? $ths->once() : $this->never();

// Set expected calls for the Mock.
$this->mock->expects( $this->once() )
$this->mock->expects( $expects )
->method( 'log' )
->with(
$this->equalTo(
Expand Down

0 comments on commit 6f886fe

Please sign in to comment.