Skip to content

Commit 4d9f45e

Browse files
committed
MAGETWO-66427 Unable to save subscription checkbox on Admin customer save #6811
- update test according to the way UI works
1 parent 0ff6669 commit 4d9f45e

File tree

1 file changed

+4
-4
lines changed
  • app/code/Magento/Customer/Test/Unit/Controller/Adminhtml/Index

1 file changed

+4
-4
lines changed

app/code/Magento/Customer/Test/Unit/Controller/Adminhtml/Index/SaveTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ public function testExecuteWithNewCustomer()
610610
{
611611
$customerId = 22;
612612
$addressId = 11;
613-
$subscription = 'false';
613+
$subscription = '0';
614614
$postValue = [
615615
'customer' => [
616616
'coolness' => false,
@@ -875,7 +875,7 @@ public function testExecuteWithNewCustomer()
875875
*/
876876
public function testExecuteWithNewCustomerAndValidationException()
877877
{
878-
$subscription = 'false';
878+
$subscription = '0';
879879
$postValue = [
880880
'customer' => [
881881
'coolness' => false,
@@ -1018,7 +1018,7 @@ public function testExecuteWithNewCustomerAndValidationException()
10181018
*/
10191019
public function testExecuteWithNewCustomerAndLocalizedException()
10201020
{
1021-
$subscription = 'false';
1021+
$subscription = '0';
10221022
$postValue = [
10231023
'customer' => [
10241024
'coolness' => false,
@@ -1161,7 +1161,7 @@ public function testExecuteWithNewCustomerAndLocalizedException()
11611161
*/
11621162
public function testExecuteWithNewCustomerAndException()
11631163
{
1164-
$subscription = 'false';
1164+
$subscription = '0';
11651165
$postValue = [
11661166
'customer' => [
11671167
'coolness' => false,

0 commit comments

Comments
 (0)