Skip to content

Commit 1e1a5ad

Browse files
author
Oleksii Korshenko
committed
MAGETWO-67054: Issue #2802, #1146: Fixing sitemap generation folder #9094
- fixed static tests
1 parent 00a4904 commit 1e1a5ad

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

app/code/Magento/Config/Test/Unit/Model/Config/Reader/Source/Deployed/DocumentRootTest.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
namespace Magento\Config\Test\Unit\Model\Config\Reader\Source\Deployed;
77

88
use Magento\Config\Model\Config\Reader;
9-
use Magento\Config\Model\Config\Reader\Source\Deployed\SettingChecker;
109
use Magento\Framework\App\Config;
1110
use Magento\Framework\App\DeploymentConfig;
12-
use Magento\Config\Model\Placeholder\PlaceholderInterface;
13-
use Magento\Config\Model\Placeholder\PlaceholderFactory;
1411
use Magento\Framework\App\Filesystem\DirectoryList;
1512
use Magento\Framework\Config\ConfigOptionsListConstants;
13+
use Magento\Config\Model\Config\Reader\Source\Deployed\DocumentRoot;
1614

1715
/**
1816
* Test class for checking settings that defined in config file
@@ -25,7 +23,7 @@ class DocumentRootTest extends \PHPUnit_Framework_TestCase
2523
private $configMock;
2624

2725
/**
28-
* @var Reader\Source\Deployed\DocumentRoot
26+
* @var DocumentRoot
2927
*/
3028
private $documentRoot;
3129

@@ -35,7 +33,7 @@ public function setUp()
3533
->disableOriginalConstructor()
3634
->getMock();
3735

38-
$this->documentRoot = new Reader\Source\Deployed\DocumentRoot($this->configMock);
36+
$this->documentRoot = new DocumentRoot($this->configMock);
3937
}
4038

4139
/**

app/code/Magento/Sitemap/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"magento/module-backend": "100.2.*",
1111
"magento/module-catalog-url-rewrite": "100.2.*",
1212
"magento/module-media-storage": "100.2.*",
13-
"magento/framework": "100.2.*"
13+
"magento/framework": "100.2.*",
14+
"magento/module-config": "100.2.*"
1415
},
1516
"suggest": {
1617
"magento/module-config": "100.2.*"

0 commit comments

Comments
 (0)