Skip to content

Commit

Permalink
fixes linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FangedParakeet committed Feb 21, 2025
1 parent a202cb4 commit 9f90a09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/test-class-woopay-tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ public function setUp(): void {
$this->http_client_stub->method( 'get_connected_user_data' )->willReturn( [ 'ID' => 1234 ] );

$this->mock_tracker = $this->getMockBuilder( WooPay_Tracker::class )
->setConstructorArgs( [$this->http_client_stub] )
->onlyMethods( ['get_wc_store_id'] )
->setConstructorArgs( [ $this->http_client_stub ] )
->onlyMethods( [ 'get_wc_store_id' ] )
->getMock();
$this->mock_tracker->method('get_wc_store_id')
->willReturn('mock_store_id');
$this->mock_tracker->method( 'get_wc_store_id' )
->willReturn( 'mock_store_id' );

$this->cache = WC_Payments::get_database_cache();
$this->mock_cache = $this->createMock( WCPay\Database_Cache::class );
Expand Down

0 comments on commit 9f90a09

Please sign in to comment.