mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user