chore: implement php test suites
PHP Integration Tests / Integration Tests (pull_request) Failing after 1m5s
PHP Unit Tests / test (pull_request) Successful in 2m10s

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-23 22:20:36 -04:00
parent a3e06a2da9
commit 18e18be2b2
9 changed files with 1778 additions and 17 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ declare(strict_types=1);
// 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('KTRIX_SERVER_ROOT', dirname(__DIR__, 4));
define('SERVER_ROOT', dirname(__DIR__, 4));
require KTRIX_SERVER_ROOT . '/vendor/autoload.php';
require SERVER_ROOT . '/vendor/autoload.php';
require __DIR__ . '/Integration/IntegrationTestCase.php';
if (isset($_SERVER['APP_DEBUG']) && $_SERVER['APP_DEBUG']) {