Skip to content
Snippets Groups Projects
Commit a6c137a9 authored by Joan He's avatar Joan He
Browse files

MAGETWO-35465: testSetNoCacheHeaders randomly fails

parent f98edcff
Branches
No related merge requests found
......@@ -17,11 +17,11 @@ class ControllerAbstractTest extends \Magento\TestFramework\TestCase\AbstractCon
protected function setUp()
{
$testObjectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
$testObjectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);
$this->messageManager = $this->getMock('\Magento\Framework\Message\Manager', [], [], '', false);
$request = $testObjectManager->get('Magento\TestFramework\Request');
$response = $testObjectManager->get('Magento\TestFramework\Response');
$request = $testObjectManager->getObject('Magento\TestFramework\Request');
$response = $testObjectManager->getObject('Magento\TestFramework\Response');
$this->_objectManager = $this->getMock(
'Magento\TestFramework\ObjectManager',
['get', '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