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
@@ -60,7 +60,7 @@ abstract class IntegrationTestCase extends TestCase
protected static function buildServer(): Server
{
return new Server(KTRIX_SERVER_ROOT);
return new Server(SERVER_ROOT);
}
// =========================================================================
@@ -127,7 +127,7 @@ abstract class IntegrationTestCase extends TestCase
*/
protected static function runConsole(array $args): string
{
$command = escapeshellcmd(PHP_BINARY) . ' ' . escapeshellarg(KTRIX_SERVER_ROOT . '/bin/console');
$command = escapeshellcmd(PHP_BINARY) . ' ' . escapeshellarg(SERVER_ROOT . '/bin/console');
foreach ($args as $arg) {
$command .= ' ' . escapeshellarg((string) $arg);
}