File tree Expand file tree Collapse file tree
modules/promotion/tests/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ protected function setUp() {
5555 'offer ' => [
5656 'target_plugin_id ' => 'order_percentage_off ' ,
5757 'target_plugin_configuration ' => [
58- 'amount ' => '0.10 ' ,
58+ 'percentage ' => '0.10 ' ,
5959 ],
6060 ],
6161 'start_date ' => '2017-01-01 ' ,
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public function testPromotionCart() {
9797 'offer ' => [
9898 'target_plugin_id ' => 'order_percentage_off ' ,
9999 'target_plugin_configuration ' => [
100- 'amount ' => '0.10 ' ,
100+ 'percentage ' => '0.10 ' ,
101101 ],
102102 ],
103103 'start_date ' => '2017-01-01 ' ,
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public function testCompatibility() {
9898 'offer ' => [
9999 'target_plugin_id ' => 'order_percentage_off ' ,
100100 'target_plugin_configuration ' => [
101- 'amount ' => '0.10 ' ,
101+ 'percentage ' => '0.10 ' ,
102102 ],
103103 ],
104104 ]);
@@ -112,7 +112,7 @@ public function testCompatibility() {
112112 'offer ' => [
113113 'target_plugin_id ' => 'order_percentage_off ' ,
114114 'target_plugin_configuration ' => [
115- 'amount ' => '0.10 ' ,
115+ 'percentage ' => '0.10 ' ,
116116 ],
117117 ],
118118 ]);
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function testOrderCondition() {
8989 'offer ' => [
9090 'target_plugin_id ' => 'order_percentage_off ' ,
9191 'target_plugin_configuration ' => [
92- 'amount ' => '0.10 ' ,
92+ 'percentage ' => '0.10 ' ,
9393 ],
9494 ],
9595 'conditions ' => [
@@ -162,7 +162,7 @@ public function testMixedCondition() {
162162 'offer ' => [
163163 'target_plugin_id ' => 'order_percentage_off ' ,
164164 'target_plugin_configuration ' => [
165- 'amount ' => '0.10 ' ,
165+ 'percentage ' => '0.10 ' ,
166166 ],
167167 ],
168168 'conditions ' => [
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function testOrderTotal() {
103103 'offer ' => [
104104 'target_plugin_id ' => 'order_percentage_off ' ,
105105 'target_plugin_configuration ' => [
106- 'amount ' => '0.10 ' ,
106+ 'percentage ' => '0.10 ' ,
107107 ],
108108 ],
109109 'conditions ' => [
@@ -153,7 +153,7 @@ public function testCouponPromotion() {
153153 'offer ' => [
154154 'target_plugin_id ' => 'order_percentage_off ' ,
155155 'target_plugin_configuration ' => [
156- 'amount ' => '0.10 ' ,
156+ 'percentage ' => '0.10 ' ,
157157 ],
158158 ],
159159 'conditions ' => [
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ public function testOrderIntegration() {
177177 'offer ' => [
178178 'target_plugin_id ' => 'order_percentage_off ' ,
179179 'target_plugin_configuration ' => [
180- 'amount ' => '0.10 ' ,
180+ 'percentage ' => '0.10 ' ,
181181 ],
182182 ],
183183 'start_date ' => '2017-01-01 ' ,
@@ -226,7 +226,7 @@ public function testPromotionFiltering() {
226226 'offer ' => [
227227 'target_plugin_id ' => 'order_percentage_off ' ,
228228 'target_plugin_configuration ' => [
229- 'amount ' => '0.10 ' ,
229+ 'percentage ' => '0.10 ' ,
230230 ],
231231 ],
232232 'usage_limit ' => 1 ,
You can’t perform that action at this time.
0 commit comments