Skip to content

Commit

Permalink
test attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov committed Nov 13, 2023
1 parent 98d6852 commit c89c113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test-class-woopay-tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public function test_does_track_non_admins() {
$this->set_is_woopay_eligible( true );
$this->set_account_connected( true );
WC_Payments::get_gateway()->update_option( 'platform_checkout', 'yes' );
WC_Payments::get_gateway()->enable();
WC_Payments::set_account_service( $this->mock_account );
wp_set_current_user( 1 );
$this->set_is_admin( false );
Expand Down

0 comments on commit c89c113

Please sign in to comment.