mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-12 08:29:31 +01:00
Fix test
This commit is contained in:
parent
eadebf32fa
commit
9b5e3c52c1
@ -303,7 +303,7 @@ func TestAPICreateBranchWithSyncBranches(t *testing.T) {
|
||||
RepoID: 1,
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.Len(t, branches, 8)
|
||||
assert.Len(t, branches, 9)
|
||||
|
||||
// make a broke repository with no branch on database
|
||||
_, err = db.DeleteByBean(t.Context(), git_model.Branch{RepoID: 1})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user