Skip to content

Commit ffaeb19

Browse files
committed
MAGETWO-57835: [Github] Cannot save customer dob attribute if admin interface locale is en_GB #6323
1 parent 9a1ed3d commit ffaeb19

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dev/tests/functional/tests/app/Magento/Customer/Test/TestCase/CreateCustomerBackendEntityTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ protected function configureAllowedCountries(array $countryList = [])
265265
*
266266
* @param array $userData
267267
*/
268-
private function changeAdminLocale(array $userData)
268+
protected function changeAdminLocale(array $userData)
269269
{
270270
/** @var User $adminUser */
271271
$adminUser = $this->fixtureFactory->createByCode('user', ['data' => $userData]);
@@ -277,10 +277,8 @@ private function changeAdminLocale(array $userData)
277277

278278
/**
279279
* Revert Admin locale.
280-
*
281-
* @param array $userData
282280
*/
283-
private function changeAdminLocaleRollback(array $userData)
281+
protected function changeAdminLocaleRollback()
284282
{
285283
/** @var User $defaultAdminUser */
286284
$defaultAdminUser = $this->fixtureFactory->createByCode('user');

0 commit comments

Comments
 (0)