Fix bugs with integration test

This commit is contained in:
René Pfeuffer
2019-05-07 09:20:19 +02:00
parent 8645890758
commit c5b20566c1
6 changed files with 98 additions and 26 deletions

View File

@@ -144,7 +144,7 @@ public class RepositoryPermission implements PermissionObject, Serializable
{
// Normally we do not have a log of repository permissions having the same size of verbs, but different content.
// Therefore we do not use the verbs themselves for the hash code but only the number of verbs.
return Objects.hashCode(name, verbs.size(), role, groupPermission);
return Objects.hashCode(name, verbs == null? -1: verbs.size(), role, groupPermission);
}