mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-01-11 17:28:41 +00:00
fix tests
This commit is contained in:
parent
645a3dd84e
commit
94b4c82fc1
|
|
@ -79,10 +79,7 @@ final class Autoloader
|
|||
$class = \strtr($class, '_\\', '//');
|
||||
|
||||
foreach (self::$paths as $path) {
|
||||
$file = $path . $class . '.php';
|
||||
$file = \str_replace('/Modules/', '/', $file);
|
||||
|
||||
if (\is_file($file)) {
|
||||
if (\is_file($file = $path . $class . '.php')) {
|
||||
include_once $file;
|
||||
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<php>
|
||||
<const name="WEB_SERVER_HOST" value="localhost"/>
|
||||
<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"/>
|
||||
</php>
|
||||
</phpunit>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user