Skip to content

Commit 76da82f

Browse files
faraz-glsreenia806
authored andcommitted
AC-8753: Coupon quantity generation checks
* Static test fix
1 parent e121fba commit 76da82f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/SalesRule/Test/Unit/Controller/Adminhtml/Promo/Quote

1 file changed

+1
-1
lines changed

app/code/Magento/SalesRule/Test/Unit/Controller/Adminhtml/Promo/Quote/GenerateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ public function testExecuteWithDisableCouponQuantity()
487487
->method('getValue')
488488
->with(self::XML_COUPON_QUANTITY_LIMIT_PATH_TEST)
489489
->willReturn(self::XML_COUPON_QUANTITY_LIMIT_DISABLE_VALUE_TEST);
490-
$this->requestMockDataWithInvalidCouponQuantity['quantity'] = $this->requestMockDataWithInvalidCouponQuantity['qty'] ?? 0;
490+
$this->requestMockDataWithInvalidCouponQuantity['quantity'] = $this->requestMockDataWithInvalidCouponQuantity['qty'] ?? 0;//phpcs:ignore
491491
$this->couponGenerationSpec->expects($this->any())
492492
->method('create')
493493
->with(['data' => $this->requestMockDataWithInvalidCouponQuantity])

0 commit comments

Comments
 (0)