File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Test/Unit/Block/Role/Grid Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 16
16
class User extends \Magento \Backend \Block \Widget \Grid \Extended
17
17
{
18
18
/**
19
- * Core registry
19
+ * Framework class for Core Registry
20
20
*
21
21
* @var \Magento\Framework\Registry
22
22
*/
Original file line number Diff line number Diff line change @@ -319,8 +319,9 @@ public function testGetUsersIncorrectInRoleUser(): void
319
319
*/
320
320
public function testGetUsers (): void
321
321
{
322
- $ paramValue = array ("1 " );
323
- $ this ->requestInterfaceMock ->expects ($ this ->once ())->method ('getParam ' )->with ('in_role_user ' )->willReturn ($ paramValue );
322
+ $ paramValue = ['1 ' ];
323
+ $ this ->requestInterfaceMock ->expects ($ this ->once ())->method ('getParam ' )
324
+ ->with ('in_role_user ' )->willReturn ($ paramValue );
324
325
$ this ->assertEquals ($ paramValue , $ this ->model ->getUsers ());
325
326
}
326
327
}
You can’t perform that action at this time.
0 commit comments