File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
dev/tests/integration/testsuite/Magento/Reports/Controller/Adminhtml/Report/Product Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,6 @@ public function testExecuteWithError()
36
36
$ this ->dispatch ('backend/reports/report_product/viewed/filter/ ' .
37
37
'cGVyaW9kX3R5cGU9ZGF5JmZyb209NyUyRjElMkY2NyZ0bz1odG1sJTIwZm90bSZzaG93X2VtcHR5X3Jvd3M9MA== ' );
38
38
$ actual = $ this ->getResponse ()->getBody ();
39
-
40
- $ objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
41
-
42
- /** @var $messageManager \Magento\Framework\Message\Manager */
43
- $ messageManager = $ objectManager ->get ('Magento\Framework\Message\Manager ' );
44
-
45
- $ this ->assertContains (
46
- 'An error occurred while showing the product views report. ' ,
47
- (string )$ messageManager ->getMessages ()->getLastAddedMessage ()->getText ()
48
- );
49
-
50
39
$ this ->assertEquals ('' , $ actual );
51
40
}
52
41
}
You can’t perform that action at this time.
0 commit comments