From df6466a1d35d00678644cf06c2e52bc5131a662d Mon Sep 17 00:00:00 2001 From: Prateek Banga Date: Thu, 21 Sep 2023 22:20:56 +0530 Subject: [PATCH] lint fix --- tests/e2e/Services/Account/AccountCustomClientTest.php | 2 +- tests/e2e/Services/GraphQL/AccountTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 = [