feat: implement console command
Integration Tests / Integration Tests (pull_request) Failing after 48s

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-22 23:47:02 -04:00
parent 73c2f34263
commit 3574fe9beb
9 changed files with 540 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
<?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('KTRIX_SERVER_ROOT', dirname(__DIR__, 4));
require KTRIX_SERVER_ROOT . '/vendor/autoload.php';
require __DIR__ . '/Integration/IntegrationTestCase.php';
if (isset($_SERVER['APP_DEBUG']) && $_SERVER['APP_DEBUG']) {
umask(0000);
}