From bedd466dc6af28b86057c28b835bda1e6e650d87 Mon Sep 17 00:00:00 2001 From: Olivier Dolbeau Date: Thu, 11 Apr 2024 20:56:19 +0200 Subject: [PATCH] Fix FunctionalTestCase --- tests/Functional/FunctionalTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Functional/FunctionalTestCase.php b/tests/Functional/FunctionalTestCase.php index 02b57c2..b465d53 100644 --- a/tests/Functional/FunctionalTestCase.php +++ b/tests/Functional/FunctionalTestCase.php @@ -14,7 +14,7 @@ protected function getClient(): ?HelloassoClient { $clientId = getenv('HELLOASSO_CLIENT_ID'); $clientSecret = getenv('HELLOASSO_CLIENT_SECRET'); - $organisationSlug = getenv('HELLOASSO_ORGANISATION') ? getenv('HELLOASSO_ORGANISATION_SLUG') : 'helloasso-php-sdk'; + $organisationSlug = false !== getenv('HELLOASSO_ORGANISATION') ? getenv('HELLOASSO_ORGANISATION') : 'helloasso-php-sdk'; if (empty($clientId) || empty($clientSecret)) { $this->markTestSkipped();