chore: implement php test suites
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user