File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
app/code/Magento/Checkout/Test/Unit/Controller/Cart Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,18 @@ class AddTest extends \PHPUnit\Framework\TestCase
3434 */
3535 private $ messageManager ;
3636
37+ /**
38+ * Init mocks for tests.
39+ *
40+ * @return void
41+ */
3742 public function setUp ()
3843 {
3944 $ this ->formKeyValidator = $ this ->getMockBuilder (\Magento \Framework \Data \Form \FormKey \Validator::class)
4045 ->disableOriginalConstructor ()->getMock ();
4146 $ this ->resultRedirectFactory =
4247 $ this ->getMockBuilder (\Magento \Framework \Controller \Result \RedirectFactory::class)
43- ->disableOriginalConstructor ()->getMock ();
48+ ->disableOriginalConstructor ()->getMock ();
4449 $ this ->request = $ this ->getMockBuilder (\Magento \Framework \App \RequestInterface::class)
4550 ->disableOriginalConstructor ()->getmock ();
4651 $ this ->messageManager = $ this ->getMockBuilder (\Magento \Framework \Message \ManagerInterface::class)
You can’t perform that action at this time.
0 commit comments