Skip to content
Snippets Groups Projects
Commit 82b723c6 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

fixed test

parent 5f89719e
No related branches found
No related tags found
2 merge requests!836Resolve "Implement Spring Security",!613WIP: New Minerva Security Layer
Pipeline #11160 failed
......@@ -52,6 +52,10 @@ public class Privilege implements Serializable {
@Override
public int hashCode() {
if (type == null) {
return 0;
}
if (isObjectPrivilege()) {
return Objects.hash(type, objectId);
} else {
......
......@@ -12,7 +12,6 @@ import lcsb.mapviewer.model.user.annotator.AllAnnotatorTests;
ConfigurationElementTypeTest.class,
ConfigurationElementEditTypeTest.class,
ConfigurationTest.class,
ObjectPrivilegeTest.class,
PrivilegeTypeTest.class,
UserAnnotationSchemaTest.class,
UserClassAnnotatorsTest.class,
......
......@@ -54,7 +54,6 @@ public class UserService implements IUserService {
public void updateUser(User user) {
userDao.update(user);
}
@Override
public void deleteUser(User user) {
userDao.delete(user);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment