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 1616class User extends \Magento \Backend \Block \Widget \Grid \Extended
1717{
1818 /**
19- * Core registry
19+ * Framework class for Core Registry
2020 *
2121 * @var \Magento\Framework\Registry
2222 */
Original file line number Diff line number Diff line change @@ -319,8 +319,9 @@ public function testGetUsersIncorrectInRoleUser(): void
319319 */
320320 public function testGetUsers (): void
321321 {
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 );
324325 $ this ->assertEquals ($ paramValue , $ this ->model ->getUsers ());
325326 }
326327}
You can’t perform that action at this time.
0 commit comments