Skip to content

Commit 8db6fe0

Browse files
author
Joel Butcher
committed
skip tests requiring credentials for github actions tests
1 parent 01d6a41 commit 8db6fe0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/ClientTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,8 @@ public function testCanCreateATestUserAndGetTheProfileAndThenDeleteTheTestUser()
257257
public function initializeTestApp()
258258
{
259259
if (!file_exists(__DIR__.'/TestCredentials.php')) {
260-
throw new SDKException(
261-
'You must create a TestCredentials.php file from TestCredentials.php.dist'
262-
);
260+
$this->markTestSkipped('You must create a TestCredentials.php file from TestCredentials.php.dist');
261+
return;
263262
}
264263

265264
if (!strlen(TestCredentials::$appId) ||

0 commit comments

Comments
 (0)