Skip to content

Commit 862ab89

Browse files
committed
ACP2E-306: [Magento Cloud] Discount Value in GraphQL is incorrect
1 parent ca3575f commit 862ab89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/CartPromotionsTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,10 @@ public function testCartPromotionsFixedDiscountNotHigherThanProductsPrice()
434434
]
435435
);
436436
}
437-
$this->assertEquals($response['cart']['prices']['discounts'][0]['amount']['value'], $sumOfPricesForBothProducts);
437+
$this->assertEquals(
438+
$response['cart']['prices']['discounts'][0]['amount']['value'],
439+
$sumOfPricesForBothProducts
440+
);
438441
}
439442

440443
/**

0 commit comments

Comments
 (0)