diff --git a/dev/tests/functional/tests/app/Magento/Security/Test/TestCase/SecureChangingCustomerEmailTest.php b/dev/tests/functional/tests/app/Magento/Security/Test/TestCase/SecureChangingCustomerEmailTest.php
index 9e4ba9bdca2a5e644d62d6ffc083811250ef318b..9f1acd69d92a2e3ba02e52ad4e563932924f2305 100644
--- a/dev/tests/functional/tests/app/Magento/Security/Test/TestCase/SecureChangingCustomerEmailTest.php
+++ b/dev/tests/functional/tests/app/Magento/Security/Test/TestCase/SecureChangingCustomerEmailTest.php
@@ -71,7 +71,7 @@ class SecureChangingCustomerEmailTest extends Injectable
         )->run();
 
         $this->customerAccountEdit->getAccountMenuBlock()->openMenuItem('Account Information');
-        $this->customerAccountEdit->getAccountInfoForm()->SetChangeEmail('Yes');
+        $this->customerAccountEdit->getAccountInfoForm()->SetChangeEmail(true);
         $this->customerAccountEdit->getAccountInfoForm()->fill($customer);
         $this->customerAccountEdit->getAccountInfoForm()->submit();
     }