8000 テストに失敗するため修正 · chihiro-adachi/ec-cube@14a6ca2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14a6ca2

Browse files
author
chihiro-adachi
committed
テストに失敗するため修正
- symfony 3.2.5/6で、choice typeでint値を受け付けなくなっていたため(symfony/symfony#21267) - 21267はbc break扱いで再度修正が入っている(symfony/symfony#21957) - symfony3.2.7で解消されると思われるが、テスト通したいので直しておく
1 parent 2b416e2 commit 14a6ca2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Eccube/Tests/Web/Admin/Order/OrderControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ public function testIndexWithNext()
122122
'admin_search_order' => array(
123123
'_token' => 'dummy',
124124
'status' => 1,
125-
'sex' => array(1, 2),
126-
'payment' => array(1, 2, 3, 4)
125+
'sex' => array('1', '2'),
126+
'payment' => array('1', '2', '3', '4')
127127
)
128128
)
129129
);

tests/Eccube/Tests/Web/Admin/Setting/Shop/DeliveryControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public function createFormData()
250250
'description' => $faker->word,
251251
'confirm_url' => $faker->url,
252252
'product_type' => rand(1, 2),
253-
'payments' => array(1),
253+
'payments' => array('1'),
254254
'delivery_times' => array(
255255
array('delivery_time' => 'AM'),
256256
array('delivery_time' => 'PM'),

0 commit comments

Comments
 (0)
0