We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d8fa5 commit 748e6c1Copy full SHA for 748e6c1
tests/phpunit/wc-mock-stripe-api-unit-test-case.php
@@ -42,7 +42,7 @@ protected function expect_payment_method_configurations_update( $enabled_payment
42
$this->stripe_api->expects( $this->once() )->method( 'update_payment_method_configurations' )->with(
43
$this->equalTo( 'pmc_abcdef' ),
44
$this->callback(
45
- function( $actual ) use ( $enabled_payment_method_ids, $disabled_payment_method_ids ) {
+ function ( $actual ) use ( $enabled_payment_method_ids, $disabled_payment_method_ids ) {
46
foreach ( $enabled_payment_method_ids as $payment_method ) {
47
if ( ! isset( $actual[ $payment_method ] ) || 'on' !== $actual[ $payment_method ]['display_preference']['preference'] ) {
48
return false;
0 commit comments