fix more failing tests

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2026-04-02 20:00:56 -04:00
parent 6bacfbd5d0
commit 57c38a49fb
2 changed files with 8 additions and 2 deletions
+6
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
+2 -2
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,