File tree 1 file changed +4
-4
lines changed
dev/tests/integration/testsuite/Magento/Config/Model/Config/Backend/Admin
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Config \Model \Config \Backend \Admin ;
7
7
8
- use Magento \Framework \ App \ Filesystem \ DirectoryList ;
8
+ use Magento \Config \ Model \ Config \ Reader \ Source \ Deployed \ DocumentRoot ;
9
9
10
10
/**
11
11
* @magentoAppArea adminhtml
@@ -33,11 +33,11 @@ protected function setUp()
33
33
$ this ->model = $ objectManager ->create (\Magento \Config \Model \Config \Backend \Admin \Robots::class);
34
34
$ this ->model ->setPath ('design/search_engine_robots/custom_instructions ' );
35
35
$ this ->model ->afterLoad ();
36
+
37
+ $ documentRootPath = $ objectManager ->get (DocumentRoot::class)->getPath ();
36
38
$ this ->rootDirectory = $ objectManager ->get (
37
39
\Magento \Framework \Filesystem::class
38
- )->getDirectoryRead (
39
- DirectoryList::ROOT
40
- );
40
+ )->getDirectoryRead ($ documentRootPath );
41
41
}
42
42
43
43
/**
You can’t perform that action at this time.
0 commit comments