Skip to content

Commit

Permalink
magento#12310: Fix robots.txt content type to 'text/plain'
Browse files Browse the repository at this point in the history
  • Loading branch information
ishakhsuvarov committed Nov 17, 2017
1 parent 2eada9c commit e9986c5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public function testExecute()
$resultPageMock->expects($this->once())
->method('addHandle')
->with('robots_index_index');
$resultPageMock->expects($this->once())
->method('setHeader')
->with('Content-Type', 'text/plain');

$this->resultPageFactory->expects($this->any())
->method('create')
Expand Down

0 comments on commit e9986c5

Please sign in to comment.