mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 10:50:21 +02:00
Fix test
This commit is contained in:
1 file changed
+1
-1
@@ -303,7 +303,7 @@ func TestAPICreateBranchWithSyncBranches(t *testing.T) {
|
|||||||
RepoID: 1,
|
RepoID: 1,
|
||||||
})
|
})
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
assert.Len(t, branches, 6)
|
assert.Len(t, branches, 7)
|
||||||
|
|
||||||
// make a broke repository with no branch on database
|
// make a broke repository with no branch on database
|
||||||
_, err = db.DeleteByBean(t.Context(), git_model.Branch{RepoID: 1})
|
_, err = db.DeleteByBean(t.Context(), git_model.Branch{RepoID: 1})
|
||||||
|
|||||||
Reference in new issue
Block a user