Skip to content

Commit 7e17d20

Browse files
committed
Unit test fix
1 parent 735c840 commit 7e17d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Rss/Test/Unit/Model/RssTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ public function testCreateRssXml()
153153

154154
$this->feedMock->expects($this->once())
155155
->method('getFormattedContentAs')
156-
->with(\Magento\Framework\App\FeedInterface::DEFAULT_FORMAT)
156+
->with(\Magento\Framework\App\FeedInterface::FORMAT_XML)
157157
->will($this->returnValue($this->feedXml));
158158

159159
$this->feedFactoryMock->expects($this->once())
160160
->method('create')
161-
->with($this->feedData, \Magento\Framework\App\FeedFactoryInterface::DEFAULT_FORMAT)
161+
->with($this->feedData, \Magento\Framework\App\FeedFactoryInterface::FORMAT_RSS)
162162
->will($this->returnValue($this->feedMock));
163163

164164
$this->rss->setDataProvider($dataProvider);

0 commit comments

Comments
 (0)