Skip to content

Commit dec8972

Browse files
committed
fix-25761 : resolved static test issues and added translation
1 parent d93fe31 commit dec8972

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

app/code/Magento/Sitemap/Model/ItemProvider/StoreUrl.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
use Magento\Sitemap\Model\SitemapItemInterfaceFactory;
1010

11+
/**
12+
* Class for adding Store Url in sitemap
13+
*/
1114
class StoreUrl implements ItemProviderInterface
1215
{
1316
/**
@@ -39,7 +42,7 @@ public function __construct(
3942
}
4043

4144
/**
42-
* {@inheritdoc}
45+
* @inheritdoc
4346
*/
4447
public function getItems($storeId)
4548
{

app/code/Magento/Sitemap/Model/ItemProvider/StoreUrlConfigReader.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
use Magento\Framework\App\Config\ScopeConfigInterface;
1010
use Magento\Store\Model\ScopeInterface;
1111

12+
/**
13+
* Class for getting configuration for Store Url
14+
*/
1215
class StoreUrlConfigReader implements ConfigReaderInterface
1316
{
1417
/**#@+

app/code/Magento/Sitemap/Test/Unit/Model/ItemProvider/StoreUrlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ private function getConfigReaderMock()
6969

7070
return $configReaderMock;
7171
}
72-
}
72+
}

app/code/Magento/Sitemap/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ ID,ID
6464
"Link for Google","Link for Google"
6565
"Last Generated","Last Generated"
6666
Action,Action
67+
"Store Url Options","Store Url Options"

0 commit comments

Comments
 (0)