mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 15:05:50 +01:00
Fix testcase
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package gitbucket.core.service
|
||||
|
||||
import gitbucket.core.model.GroupMember
|
||||
import gitbucket.core.model.{Account, GroupMember}
|
||||
import org.specs2.mutable.Specification
|
||||
import java.util.Date
|
||||
|
||||
@@ -11,7 +11,7 @@ class AccountServiceSpec extends Specification with ServiceSpecBase {
|
||||
|
||||
"getAllUsers" in { withTestDB { implicit session =>
|
||||
AccountService.getAllUsers() must be like{
|
||||
case List(model.Account("root", "root", RootMailAddress, _, true, _, _, _, None, None, false, false)) => ok
|
||||
case List(Account("root", "root", RootMailAddress, _, true, _, _, _, None, None, false, false)) => ok
|
||||
}
|
||||
}}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package gitbucket.core.service
|
||||
|
||||
import gitbucket.core.model.Profile
|
||||
import gitbucket.core.servlet.AutoUpdate
|
||||
import gitbucket.core.util.{ControlUtil, DatabaseConfig, FileUtil}
|
||||
import gitbucket.core.model.Profile._
|
||||
import profile.simple._
|
||||
import ControlUtil._
|
||||
import java.sql.DriverManager
|
||||
|
||||
Reference in New Issue
Block a user