Fix up UserGroup to map new property properly

This commit is contained in:
Nikolaj Geisle
2022-07-11 13:38:30 +02:00
parent bba403cf3e
commit 5bbb546780
5 changed files with 10 additions and 7 deletions

View File

@@ -116,7 +116,7 @@ public class UserEditorAuthorizationHelperTests
{
var currentUser = Mock.Of<IUser>(user => user.Groups == new[]
{
new ReadOnlyUserGroup(1, "CurrentUser", "icon-user", null, null, groupAlias, new int[0], new string[0], new string[0]),
new ReadOnlyUserGroup(1, "CurrentUser", "icon-user", null, null, groupAlias, new int[0], new string[0], new string[0], true),
});
IUser savingUser = null; // This means it is a new created user