Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Without having a current user, the permission would be `false` even if the logic test in `canChangeRole()` would not work, thus making the test useless; in fact just adding the impersonation made the test fail because manually creating a user object didn’t trigger the `isLastAdmin()` logic
- Loading branch information