mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Fix test case.
This commit is contained in:
@@ -10,7 +10,7 @@ class AccountServiceServiceSpec extends Specification with ServiceSpecBase {
|
||||
|
||||
"getAllUsers" in { withTestDB{
|
||||
AccountService.getAllUsers must be like{
|
||||
case List(model.Account("root", "root", RootMailAddress, _, true, _, _, _, None, None, false)) => ok
|
||||
case List(model.Account("root", "root", RootMailAddress, _, true, _, _, _, None, None, false, false)) => ok
|
||||
}
|
||||
}}
|
||||
|
||||
|
||||
@@ -75,7 +75,8 @@ class AvatarImageProviderSpec extends Specification {
|
||||
updatedDate = new Date(),
|
||||
lastLoginDate = None,
|
||||
image = image,
|
||||
isGroupAccount = false)
|
||||
isGroupAccount = false,
|
||||
isRemoved = false)
|
||||
|
||||
private def createSystemSettings(useGravatar: Boolean) =
|
||||
SystemSettings(
|
||||
|
||||
Reference in New Issue
Block a user