0
0
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:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-16 19:45:56 -04:00
parent 6bacfbd5d0
commit 57c38a49fb
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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,