diff --git a/tests/e2e/Services/Account/AccountCustomClientTest.php b/tests/e2e/Services/Account/AccountCustomClientTest.php index 96f9b3774c..77d8662ba4 100644 --- a/tests/e2e/Services/Account/AccountCustomClientTest.php +++ b/tests/e2e/Services/Account/AccountCustomClientTest.php @@ -748,7 +748,7 @@ class AccountCustomClientTest extends Scope $authKey = App::getEnv('_APP_MESSAGE_SMS_PROVIDER_MSG91_AUTH_KEY'); $senderId = App::getEnv('_APP_MESSAGE_SMS_PROVIDER_MSG91_SENDER_ID'); - if($to === '' || $from === '' || $authKey === '' || $senderId === '') { + if ($to === '' || $from === '' || $authKey === '' || $senderId === '') { $this->markTestSkipped('SMS provider not configured'); } diff --git a/tests/e2e/Services/GraphQL/AccountTest.php b/tests/e2e/Services/GraphQL/AccountTest.php index 0366c2f359..aa60d2d81b 100644 --- a/tests/e2e/Services/GraphQL/AccountTest.php +++ b/tests/e2e/Services/GraphQL/AccountTest.php @@ -128,10 +128,10 @@ class AccountTest extends Scope $authKey = App::getEnv('_APP_MESSAGE_SMS_PROVIDER_MSG91_AUTH_KEY'); $senderId = App::getEnv('_APP_MESSAGE_SMS_PROVIDER_MSG91_SENDER_ID'); - if($to === '' || $from === '' || $authKey === '' || $senderId === '') { + if ($to === '' || $from === '' || $authKey === '' || $senderId === '') { $this->markTestSkipped('SMS provider not configured'); } - + $projectId = $this->getProject()['$id']; $query = $this->getQuery(self::$CREATE_PROVIDER); $graphQLPayload = [