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 @@ -34,17 +34,6 @@ public function testExecuteWithError()
34
34
$ this ->dispatch ('backend/reports/report_product/viewed/filter/ ' .
35
35
'cGVyaW9kX3R5cGU9ZGF5JmZyb209NyUyRjElMkY2NyZ0bz1odG1sJTIwZm90bSZzaG93X2VtcHR5X3Jvd3M9MA== ' );
36
36
$ actual = $ this ->getResponse ()->getBody ();
37
-
38
- $ objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
39
-
40
- /** @var $messageManager \Magento\Framework\Message\Manager */
41
- $ messageManager = $ objectManager ->get ('Magento\Framework\Message\Manager ' );
42
-
43
- $ this ->assertContains (
44
- 'An error occurred while showing the product views report. ' ,
45
- (string )$ messageManager ->getMessages ()->getLastAddedMessage ()->getText ()
46
- );
47
-
48
37
$ this ->assertEquals ('' , $ actual );
49
38
}
50
39
}
You can’t perform that action at this time.
0 commit comments