fix gitlab tests
This commit is contained in:
@@ -47,7 +47,7 @@ class RoleSwitchServiceTest extends TestCase
|
||||
'role_id' => $roleId,
|
||||
]);
|
||||
|
||||
$service = new RoleSwitchService(new RoleDashboardService);
|
||||
$service = new RoleSwitchService(new RoleDashboardService());
|
||||
$roles = $service->getUserRoleNames($userId);
|
||||
|
||||
$this->assertSame(['admin'], $roles);
|
||||
|
||||
Reference in New Issue
Block a user