Skip to content

Commit 5d053d6

Browse files
committed
MAGETWO-97122: User Role minor changes
1 parent d6b8b4c commit 5d053d6

File tree

1 file changed

+4
-3
lines changed
  • app/code/Magento/User/Test/Unit/Controller/Adminhtml/User/Role

1 file changed

+4
-3
lines changed

app/code/Magento/User/Test/Unit/Controller/Adminhtml/User/Role/DeleteTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ protected function setUp()
139139
\Magento\Authorization\Model\Role::class,
140140
['load', 'getId', 'getRoleType', 'delete'],
141141
[],
142-
''
143-
,false
142+
'',
143+
false
144144
);
145145

146146
$this->controller = $objectManagerHelper->getObject(
@@ -325,7 +325,8 @@ private function checkUserAndRoleIds($id, $userId, $userRoleId)
325325
{
326326
$this->requestMock->expects($this->atLeastOnce())->method('getParam')->with('rid')->willReturn($id);
327327

328-
$userModelMock = $this->getMock(\Magento\User\Model\User::class,
328+
$userModelMock = $this->getMock(
329+
\Magento\User\Model\User::class,
329330
['getId', 'setId', 'getRoles'],
330331
[],
331332
'',

0 commit comments

Comments
 (0)