Skip to content

Commit bebbc6b

Browse files
committed
Fixing static tests
1 parent d3e9fd4 commit bebbc6b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/code/Magento/SalesRule/Test/Unit/Observer/CouponCodeValidationTest.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,13 @@ protected function setUp()
7474
$this->searchCriteriaBuilderMock = $this->getMockBuilder(SearchCriteriaBuilder::class)
7575
->setMethods(['addFilter', 'create'])
7676
->disableOriginalConstructor()->getMockForAbstractClass();
77-
$this->quoteMock = $this->createPartialMock(Quote::class, [
78-
'getCouponCode', 'setCouponCode', 'getId'
79-
]);
77+
$this->quoteMock = $this->createPartialMock(Quote::class,
78+
[
79+
'getCouponCode',
80+
'setCouponCode',
81+
'getId'
82+
]
83+
);
8084

8185
$this->couponCodeValidation = new CouponCodeValidation(
8286
$this->codeLimitManagerMock,

0 commit comments

Comments
 (0)