Skip to content

Commit 68e76d3

Browse files
committed
ACP2E-793: Discount value is incorrect in GraphQL response
1 parent 8af7d1d commit 68e76d3

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/SalesRule/Test/Unit/Model/Rule/Action/Discount

1 file changed

+4
-0
lines changed

app/code/Magento/SalesRule/Test/Unit/Model/Rule/Action/Discount/ByFixedTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ protected function setUp(): void
7474
}
7575

7676
/**
77+
* Test fixed discount cannot be higher than products price
78+
*
7779
* @param $qty
7880
* @param $ruleData
7981
* @param $itemData
@@ -244,6 +246,8 @@ public function calculateDataProvider()
244246
}
245247

246248
/**
249+
* Test Fixing quantity depending on discount step
250+
*
247251
* @param int $step
248252
* @param int|float $qty
249253
* @param int $expected

0 commit comments

Comments
 (0)