Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wjrosa committed Feb 26, 2025
1 parent e3bb49c commit d12e6fe
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2648,10 +2648,6 @@ public function test_set_payment_method_title_for_order() {

WC_Subscriptions_Helpers::$wcs_get_subscriptions_for_order = [ $mock_subscription_0, $mock_subscription_1 ];

$this->mock_gateway->expects( $this->exactly( 4 ) ) // 4 times because we test 4 payment methods.
->method( 'is_subscriptions_enabled' )
->willReturn( true );

/**
* SEPA
*/
Expand Down

0 comments on commit d12e6fe

Please sign in to comment.