We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735c840 commit 7e17d20Copy full SHA for 7e17d20
app/code/Magento/Rss/Test/Unit/Model/RssTest.php
@@ -153,12 +153,12 @@ public function testCreateRssXml()
153
154
$this->feedMock->expects($this->once())
155
->method('getFormattedContentAs')
156
- ->with(\Magento\Framework\App\FeedInterface::DEFAULT_FORMAT)
+ ->with(\Magento\Framework\App\FeedInterface::FORMAT_XML)
157
->will($this->returnValue($this->feedXml));
158
159
$this->feedFactoryMock->expects($this->once())
160
->method('create')
161
- ->with($this->feedData, \Magento\Framework\App\FeedFactoryInterface::DEFAULT_FORMAT)
+ ->with($this->feedData, \Magento\Framework\App\FeedFactoryInterface::FORMAT_RSS)
162
->will($this->returnValue($this->feedMock));
163
164
$this->rss->setDataProvider($dataProvider);
0 commit comments