Skip to content

Commit 72db9da

Browse files
author
Roman Lytvynenko
committed
MC-37306: Sitemap generated by cron have wrong image URL (cache path)
1 parent 3452706 commit 72db9da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Sitemap/Test/Unit/Model/ObserverTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ public function testCronGenerateSitemapEnvironmentEmulation()
166166
->method('getStoreId')
167167
->willReturn($storeId);
168168

169+
$this->sitemapMock->expects($this->once())
170+
->method('generateXml');
171+
169172
$this->appEmulationMock->expects($this->once())
170173
->method('startEnvironmentEmulation');
171174

0 commit comments

Comments
 (0)