Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe committed Oct 18, 2024
1 parent cbe8cd4 commit 0f3fdb9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions tests/Stripe/BaseStripeClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ protected function setUpCurlClientStub()
{
$this->curlClientStub = $this->getMockBuilder(\Stripe\HttpClient\CurlClient::class)
->setMethods(['executeRequestWithRetries'])
->getMock();
->getMock()
;
}

public function testCtorDoesNotThrowWhenNoParams()
Expand Down Expand Up @@ -566,7 +567,8 @@ public function testSetClientAppInfo()
{
$curlClientStub = $this->getMockBuilder(\Stripe\HttpClient\CurlClient::class)
->setMethods(['executeRequestWithRetries'])
->getMock();
->getMock()
;

$curlClientStub->method('executeRequestWithRetries')
->willReturn(['{"object": "charge"}', 200, []])
Expand Down Expand Up @@ -604,7 +606,8 @@ public function testSetClientAppInfoOnlyName()
{
$curlClientStub = $this->getMockBuilder(\Stripe\HttpClient\CurlClient::class)
->setMethods(['executeRequestWithRetries'])
->getMock();
->getMock()
;

$curlClientStub->method('executeRequestWithRetries')
->willReturn(['{"object": "charge"}', 200, []])
Expand Down Expand Up @@ -637,7 +640,8 @@ public function testClientAppInfoFallsBackToGlobal()
{
$curlClientStub = $this->getMockBuilder(\Stripe\HttpClient\CurlClient::class)
->setMethods(['executeRequestWithRetries'])
->getMock();
->getMock()
;

$curlClientStub->method('executeRequestWithRetries')
->willReturn(['{"object": "charge"}', 200, []])
Expand Down Expand Up @@ -668,7 +672,8 @@ public function testClientAppInfoOverridesGlobal()
{
$curlClientStub = $this->getMockBuilder(\Stripe\HttpClient\CurlClient::class)
->setMethods(['executeRequestWithRetries'])
->getMock();
->getMock()
;

$curlClientStub->method('executeRequestWithRetries')
->willReturn(['{"object": "charge"}', 200, []])
Expand Down

0 comments on commit 0f3fdb9

Please sign in to comment.