mirror of
https://github.com/opdavies/glassboxx-sdk-php.git
synced 2025-02-17 22:50:48 +00:00
Fix typo in test
This commit is contained in:
parent
7d8a2dffc5
commit
79c4d9e5fd
1 changed files with 3 additions and 3 deletions
|
@ -25,9 +25,9 @@ class AuthTokenRequestTest extends TestCase
|
|||
)
|
||||
->getMock();
|
||||
|
||||
$mockRepsonse = $this->getMockBuilder(ResponseInterface::class)
|
||||
$mockResponse = $this->getMockBuilder(ResponseInterface::class)
|
||||
->getMock();
|
||||
$mockRepsonse->method('getContent')->willReturn('"abc123"');
|
||||
$mockResponse->method('getContent')->willReturn('"abc123"');
|
||||
|
||||
$client = $this->getMockBuilder(MockHttpClient::class)->getMock();
|
||||
$client->expects($this->once())
|
||||
|
@ -43,7 +43,7 @@ class AuthTokenRequestTest extends TestCase
|
|||
],
|
||||
]
|
||||
)
|
||||
->willReturn($mockRepsonse);
|
||||
->willReturn($mockResponse);
|
||||
|
||||
$token = (new AuthTokenRequest($client))
|
||||
->withConfig($config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue