Skip to content

Commit 4a388a5

Browse files
committed
ACP2E-2376: fix static errors
1 parent 9886b75 commit 4a388a5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dev/tests/integration/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ public function testDiscountOnSimpleProductWithDiscardSubsequentRule(): void
419419
['cart_id' => '$cart.id$', 'product_id' => '$cp1.id$', 'child_product_id' => '$p1.id$', 'qty' => 1],
420420
)
421421
]
422-
public function testFixedAmountWholeCartDiscountOnConfigurableProduct() {
422+
public function testFixedAmountWholeCartDiscountOnConfigurableProduct(): void
423+
{
423424
$quote = $this->fixtures->get('cart');
424425
$this->assertEquals(50, $quote->getGrandTotal());
425426
$this->assertEquals(50, $quote->getSubtotalWithDiscount());
@@ -477,7 +478,8 @@ public function testFixedAmountWholeCartDiscountOnConfigurableProduct() {
477478
],
478479
)
479480
]
480-
public function testFixedAmountWholeCartDiscountOnBundleProduct() {
481+
public function testFixedAmountWholeCartDiscountOnBundleProduct(): void
482+
{
481483
$quote = $this->fixtures->get('cart');
482484
$this->assertEquals(32.5, $quote->getGrandTotal());
483485
$this->assertEquals(32.5, $quote->getSubtotalWithDiscount());

0 commit comments

Comments
 (0)