diff --git a/setup/src/Magento/Setup/Test/Unit/Model/InstallerTest.php b/setup/src/Magento/Setup/Test/Unit/Model/InstallerTest.php index 098e210824389a8848265a9d2b072d53fa24fd2d..e8b4f8714a44e64aa0b69d6acf3b6b9cd838d3a4 100644 --- a/setup/src/Magento/Setup/Test/Unit/Model/InstallerTest.php +++ b/setup/src/Magento/Setup/Test/Unit/Model/InstallerTest.php @@ -489,3 +489,15 @@ class InstallerTest extends \PHPUnit_Framework_TestCase return $newObject; } } + +namespace Magento\Setup\Model; + +/** + * Mocking autoload function + * + * @returns array + */ +function spl_autoload_functions() +{ + return ['mock_function_one', 'mock_function_two']; +}