File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
app/code/Magento/QuoteGraphQl/Test/Unit/Plugin/Model Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 23
23
use PHPUnit \Framework \TestCase ;
24
24
use PHPUnit \Framework \MockObject \MockObject ;
25
25
26
+ /**
27
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
28
+ */
26
29
class CreateEmptyCartWithoutCountryValidationTest extends TestCase
27
30
{
28
31
/**
@@ -99,7 +102,8 @@ protected function setUp(): void
99
102
public function testAroundCreateEmptyCartForCustomerCreatesNewCart (
100
103
int $ storeId ,
101
104
int $ customerId ,
102
- object $ callBack ) {
105
+ object $ callBack
106
+ ) {
103
107
$ expectedResult = 123 ;
104
108
$ this ->storeManager ->expects ($ this ->once ())
105
109
->method ('getStore ' )
@@ -158,7 +162,8 @@ public function testAroundCreateEmptyCartForCustomerCreatesNewCart(
158
162
public function testAroundCreateEmptyCartForCustomerHandlesSaveException (
159
163
int $ storeId ,
160
164
int $ customerId ,
161
- object $ callBack ) {
165
+ object $ callBack
166
+ ) {
162
167
$ this ->storeManager ->expects ($ this ->once ())
163
168
->method ('getStore ' )
164
169
->willReturn ($ this ->store );
@@ -208,7 +213,8 @@ public function testAroundCreateEmptyCartForCustomerHandlesSaveException(
208
213
public static function aroundCreateEmptyCartForCustomerDataProvider (): array
209
214
{
210
215
return [
211
- [1 , 1 , function () {}]
216
+ [1 , 1 , function () {
217
+ }]
212
218
];
213
219
}
214
220
}
You can’t perform that action at this time.
0 commit comments