Skip to content

Commit ace73cb

Browse files
MC-5843: Add Argon2ID support
- fix static test
1 parent 05e5c8e commit ace73cb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/code/Magento/Customer/Model/AccountManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,8 +1074,8 @@ public function validate(CustomerInterface $customer)
10741074

10751075
$result = $this->getEavValidator()->isValid($customerModel);
10761076
if ($result === false && is_array($this->getEavValidator()->getMessages())) {
1077-
// phpcs:ignore Magento2.Functions.DiscouragedFunction
10781077
return $validationResults->setIsValid(false)->setMessages(
1078+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
10791079
call_user_func_array(
10801080
'array_merge',
10811081
$this->getEavValidator()->getMessages()

dev/tests/integration/testsuite/Magento/User/Model/UserTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ public function testUpdateRoleOnSave()
113113
$this->assertEquals('admin_role', $this->_model->getRole()->getRoleName());
114114
}
115115

116+
/**
117+
* phpcs:disable Magento2.Functions.StaticFunction
118+
*/
116119
public static function roleDataFixture()
117120
{
118121
self::$_newRole = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(

0 commit comments

Comments
 (0)