mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 12:20:56 +01:00
Fix tests for validation
This commit is contained in:
@@ -111,8 +111,9 @@ public final class UserTestData
|
||||
*/
|
||||
public static User createTrillian()
|
||||
{
|
||||
return new User("trillian", "Tricia McMillan",
|
||||
"tricia.mcmillan@hitchhiker.com");
|
||||
User user = new User("trillian", "Tricia McMillan", "tricia.mcmillan@hitchhiker.com");
|
||||
user.setType("xml");
|
||||
return user;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -123,7 +124,8 @@ public final class UserTestData
|
||||
*/
|
||||
public static User createZaphod()
|
||||
{
|
||||
return new User("zaphod", "Zaphod Beeblebrox",
|
||||
"zaphod.beeblebrox@hitchhiker.com");
|
||||
User user = new User("zaphod", "Zaphod Beeblebrox", "zaphod.beeblebrox@hitchhiker.com");
|
||||
user.setType("xml");
|
||||
return user;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"description": "Updated description",
|
||||
"name": "admin",
|
||||
"type": "xml",
|
||||
"_embedded": {
|
||||
"members": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user