Skip to content

Commit fbf9391

Browse files
author
Bibu Mathew
committed
MAGETWO-30808: Remove include-path from composer.json
- Removed include path from composer.json - updates test to use composer autoloader
1 parent 1be6ca1 commit fbf9391

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,6 @@
185185
"tinymce/tinymce": "lib/web/tiny_mce"
186186
}
187187
},
188-
"config": {
189-
"use-include-path": true
190-
},
191188
"autoload": {
192189
"psr-4": {
193190
"Magento\\Framework\\": "lib/internal/Magento/Framework/"

dev/tests/integration/testsuite/Magento/Framework/Api/Code/Generator/DataBuilderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ class DataBuilderTest extends \PHPUnit_Framework_TestCase
1616

1717
protected function setUp()
1818
{
19-
\Magento\Framework\Filesystem\FileResolver::addIncludePath([__DIR__ . '/../../_files']);
19+
$autoloadWrapper = \Magento\Framework\Autoload\AutoloaderRegistry::getAutoloader();
20+
$autoloadWrapper->addPsr4('Magento\\Wonderland\\', realpath(__DIR__ . '/../../_files/Magento/Wonderland'));
2021
$this->_objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
2122
$this->_objectManager->configure(
2223
[

0 commit comments

Comments
 (0)