Add local API acceptance tests

This commit is contained in:
Phil Davis
2020-07-31 12:24:01 +05:45
parent 67861acd73
commit b36390e017
13 changed files with 387 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
<?php
$pathToCore = \getenv('PATH_TO_CORE');
if ($pathToCore === false) {
$pathToCore = "../core";
}
require_once $pathToCore . '/tests/acceptance/features/bootstrap/bootstrap.php';
$classLoader = new \Composer\Autoload\ClassLoader();
$classLoader->addPsr4(
"", $pathToCore . "/tests/acceptance/features/bootstrap", true
);
$classLoader->register();