Skip to content
Snippets Groups Projects
Unverified Commit e9986c5a authored by Ievgen Shakhsuvarov's avatar Ievgen Shakhsuvarov
Browse files

magento/magento2#12310: Fix robots.txt content type to 'text/plain'

parent 2eada9ca
No related merge requests found
......@@ -51,6 +51,9 @@ class IndexTest extends \PHPUnit\Framework\TestCase
$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')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment