N°3233 - Fix unit test and autoloader due to folders renaming in /sources

This commit is contained in:
Molkobain
2020-08-04 13:26:24 +02:00
parent bc4b36fda6
commit d6ab310d24
2 changed files with 3 additions and 6 deletions

View File

@@ -13,9 +13,6 @@ class ComposerAutoloaderInit0018331147de7601e7552f7da8e3bb8b
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {

View File

@@ -96,9 +96,9 @@ class UtilsTest extends \Combodo\iTop\Test\UnitTest\ItopTestCase
$sItopRootRealPath.'application'.$sSep.'utils.inc.php',
],
'basepath containing / and \\' => [
APPROOT.'sources/form/form.class.inc.php',
APPROOT.'sources/form\\form.class.inc.php',
$sItopRootRealPath.'sources'.$sSep.'form'.$sSep.'form.class.inc.php',
APPROOT.'sources/Form/Form.php',
APPROOT.'sources/Form\\Form.php',
$sItopRootRealPath.'sources'.$sSep.'Form'.$sSep.'Form.php',
],
];
}