mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-01-11 14:58:39 +00:00
fix tests
This commit is contained in:
parent
542974ca59
commit
e79e755ebd
|
|
@ -79,10 +79,7 @@ final class Autoloader
|
||||||
$class = \strtr($class, '_\\', '//');
|
$class = \strtr($class, '_\\', '//');
|
||||||
|
|
||||||
foreach (self::$paths as $path) {
|
foreach (self::$paths as $path) {
|
||||||
$file = $path . $class . '.php';
|
if (\is_file($file = $path . $class . '.php')) {
|
||||||
$file = \str_replace('/Modules/', '/', $file);
|
|
||||||
|
|
||||||
if (\is_file($file)) {
|
|
||||||
include_once $file;
|
include_once $file;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
<php>
|
<php>
|
||||||
<const name="WEB_SERVER_HOST" value="localhost"/>
|
<const name="WEB_SERVER_HOST" value="localhost"/>
|
||||||
<const name="WEB_SERVER_PORT" value="1234"/>
|
<const name="WEB_SERVER_PORT" value="1234"/>
|
||||||
<const name="WEB_SERVER_DOCROOT" value="./"/>
|
<const name="WEB_SERVER_DOCROOT" value="./Karaka"/>
|
||||||
<const name="RESET" value="1"/>
|
<const name="RESET" value="1"/>
|
||||||
</php>
|
</php>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user