File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class PrintfulApiClientTest extends TestCase
1717 public function testGet_withApiKey_returnsWithNoAuthErrors ()
1818 {
1919 if (Credentials::$ legacyStoreKey === '' ) {
20- $ this ->markTestSkipped ('You need apiKey to be set for this test to run ' );
20+ $ this ->markTestSkipped ('You need apiKey to be set in Credentials.php for this test to run ' );
2121 }
2222
2323 $ sut = PrintfulApiClient::createLegacyStoreKeyClient (Credentials::$ legacyStoreKey );
@@ -39,6 +39,10 @@ public function testGet_withApiKey_returnsWithNoAuthErrors()
3939 */
4040 public function testGet_withOauthToken_returnsWithNoAuthErrors ()
4141 {
42+ if (Credentials::$ oAuthToken === '' ) {
43+ $ this ->markTestSkipped ('You need oAuthToken to be set in Credentials.php for this test to run ' );
44+ }
45+
4246 $ sut = PrintfulApiClient::createOauthClient (Credentials::$ oAuthToken );
4347
4448 $ this ->overrideUrl ($ sut );
You can’t perform that action at this time.
0 commit comments