Skip to content

Commit 3abea60

Browse files
DEV-4690 - Use null so the test is more clear
1 parent fb01582 commit 3abea60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ApiClient/PrintfulApiClientTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testGet_withApiKey_returnsWithNoAuthErrors()
3232
*/
3333
public function testGet_withOauthToken_returnsWithNoAuthErrors()
3434
{
35-
$sut = new PrintfulApiClient(Credentials::$apiKey, Credentials::$oAuthToken);
35+
$sut = new PrintfulApiClient(null, Credentials::$oAuthToken);
3636

3737
$this->overrideUrl($sut);
3838

0 commit comments

Comments
 (0)