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
1364
1364
1365
1365
/**
1366
1366
* @return void
1367
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
1367
1368
*/
1368
1369
public function testPrepareForCartAdvancedAllRequiredOption (): void
1369
1370
{
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ protected function _imitateTransactionStartRequest($eventName)
57
57
};
58
58
$ this ->_eventManager
59
59
->method ('fireEvent ' )
60
- ->willReturnCallback (function () use ($ callback ) {
60
+ ->willReturnCallback (function () use ($ callback ) {
61
61
return $ callback ;
62
62
});
63
63
}
@@ -84,7 +84,7 @@ protected function _imitateTransactionRollbackRequest($eventName)
84
84
};
85
85
$ this ->_eventManager
86
86
->method ('fireEvent ' )
87
- ->willReturnCallback (function () use ($ callback ) {
87
+ ->willReturnCallback (function () use ($ callback ) {
88
88
return $ callback ;
89
89
});
90
90
}
You can’t perform that action at this time.
0 commit comments