mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-11 13:35:24 +02:00
fix more failing tests
This commit is contained in:
parent
6bacfbd5d0
commit
57c38a49fb
@ -142,3 +142,9 @@
|
||||
group_id: 376
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 25
|
||||
org_id: 3
|
||||
team_id: 12
|
||||
group_id: 123
|
||||
access_mode: 4
|
||||
can_create_in: true
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user