File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
app/code/Magento/Customer/Model
dev/tests/integration/testsuite/Magento/User/Model Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1074,8 +1074,8 @@ public function validate(CustomerInterface $customer)
1074
1074
1075
1075
$ result = $ this ->getEavValidator ()->isValid ($ customerModel );
1076
1076
if ($ result === false && is_array ($ this ->getEavValidator ()->getMessages ())) {
1077
- // phpcs:ignore Magento2.Functions.DiscouragedFunction
1078
1077
return $ validationResults ->setIsValid (false )->setMessages (
1078
+ // phpcs:ignore Magento2.Functions.DiscouragedFunction
1079
1079
call_user_func_array (
1080
1080
'array_merge ' ,
1081
1081
$ this ->getEavValidator ()->getMessages ()
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ public function testUpdateRoleOnSave()
113
113
$ this ->assertEquals ('admin_role ' , $ this ->_model ->getRole ()->getRoleName ());
114
114
}
115
115
116
+ /**
117
+ * phpcs:disable Magento2.Functions.StaticFunction
118
+ */
116
119
public static function roleDataFixture ()
117
120
{
118
121
self ::$ _newRole = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create (
You can’t perform that action at this time.
0 commit comments