File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/code/Magento/Bundle/Test/Unit/Model/Product
dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Event Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1364,6 +1364,7 @@ public function testPrepareForCartAdvancedParentClassReturnString(): void
13641364
13651365 /**
13661366 * @return void
1367+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
13671368 */
13681369 public function testPrepareForCartAdvancedAllRequiredOption (): void
13691370 {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ protected function _imitateTransactionStartRequest($eventName)
5757 };
5858 $ this ->_eventManager
5959 ->method ('fireEvent ' )
60- ->willReturnCallback (function () use ($ callback ) {
60+ ->willReturnCallback (function () use ($ callback ) {
6161 return $ callback ;
6262 });
6363 }
@@ -84,7 +84,7 @@ protected function _imitateTransactionRollbackRequest($eventName)
8484 };
8585 $ this ->_eventManager
8686 ->method ('fireEvent ' )
87- ->willReturnCallback (function () use ($ callback ) {
87+ ->willReturnCallback (function () use ($ callback ) {
8888 return $ callback ;
8989 });
9090 }
You can’t perform that action at this time.
0 commit comments