diff options
Diffstat (limited to 'tests/integration')
| -rw-r--r-- | tests/integration/ApiTest.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/integration/ApiTest.php b/tests/integration/ApiTest.php index 5cf364217..3287a7735 100644 --- a/tests/integration/ApiTest.php +++ b/tests/integration/ApiTest.php @@ -7,13 +7,6 @@ final class ApiTest extends TestCase { private string $app_url = ""; private string $sid = ""; - function __construct() { - $this->api_url = getenv('API_URL'); - $this->app_url = getenv('APP_URL'); - - parent::__construct(); - } - /** @param array<mixed> $payload * @return array<mixed> */ @@ -44,6 +37,8 @@ final class ApiTest extends TestCase { } public function setUp(): void { + $this->api_url = getenv('API_URL'); + $this->app_url = getenv('APP_URL'); $this->test_login(); } |