This commit is contained in:
Lunny Xiao committed 2025-08-30 17:34:57 -07:00
1 parent 1e4da5bc1a
commit 1d9b7a1a61
1 file changed
+1 -1
+1 -1
View File
@@ -303,7 +303,7 @@ func TestAPICreateBranchWithSyncBranches(t *testing.T) {
RepoID: 1,
})
assert.NoError(t, err)
assert.Len(t, branches, 6)
assert.Len(t, branches, 7)
// make a broke repository with no branch on database
_, err = db.DeleteByBean(t.Context(), git_model.Branch{RepoID: 1})