mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-15 14:32:20 +01:00
Fix test
This commit is contained in:
parent
c60d6fc5ab
commit
1e4da5bc1a
@ -320,7 +320,7 @@ func TestAPICreateBranchWithSyncBranches(t *testing.T) {
|
|||||||
RepoID: 1,
|
RepoID: 1,
|
||||||
})
|
})
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
assert.Len(t, branches, 7)
|
assert.Len(t, branches, 8)
|
||||||
|
|
||||||
branches, err = db.Find[git_model.Branch](t.Context(), git_model.FindBranchOptions{
|
branches, err = db.Find[git_model.Branch](t.Context(), git_model.FindBranchOptions{
|
||||||
RepoID: 1,
|
RepoID: 1,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user