Files
authentication_provider_pas…/tests/php/bootstrap.php
T
Sebastian 18e18be2b2
PHP Integration Tests / Integration Tests (pull_request) Failing after 1m5s
PHP Unit Tests / test (pull_request) Successful in 2m10s
chore: implement php test suites
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-23 22:20:36 -04:00

17 lines
560 B
PHP

<?php
declare(strict_types=1);
// This module is always deployed at <server-root>/modules/<handle>, so the
// server's own vendor/autoload.php (core + shared + framework deps) is a
// fixed number of levels above this file. Every other test file resolves
// the server root through this constant rather than repeating the math.
define('SERVER_ROOT', dirname(__DIR__, 4));
require SERVER_ROOT . '/vendor/autoload.php';
require __DIR__ . '/Integration/IntegrationTestCase.php';
if (isset($_SERVER['APP_DEBUG']) && $_SERVER['APP_DEBUG']) {
umask(0000);
}