mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 21:07:06 +02:00
fix more failing tests
This commit is contained in:
1 parent
6bacfbd5d0
commit
57c38a49fb
2 files changed
+8
-2
No files matched your search
@@ -36,7 +36,7 @@ func TestNewGroup(t *testing.T) {
|
||||
func TestMoveGroup(t *testing.T) {
|
||||
assert.NoError(t, unittest.PrepareTestDatabase())
|
||||
doer := unittest.AssertExistsAndLoadBean(t, &user_model.User{
|
||||
ID: 3,
|
||||
ID: 28,
|
||||
})
|
||||
testfn := func(gid int64) {
|
||||
cond := &group_model.FindGroupsOptions{
|
||||
@@ -61,7 +61,7 @@ func TestMoveGroup(t *testing.T) {
|
||||
func TestMoveRepo(t *testing.T) {
|
||||
assert.NoError(t, unittest.PrepareTestDatabase())
|
||||
doer := unittest.AssertExistsAndLoadBean(t, &user_model.User{
|
||||
ID: 3,
|
||||
ID: 28,
|
||||
})
|
||||
cond := repo_model.SearchRepositoryCondition(repo_model.SearchRepoOptions{
|
||||
GroupID: 123,
|
||||
|
||||
Reference in new issue
Block a user