From 9b5e3c52c1de1f175f38d59aeec0131fa60216fa Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 28 Oct 2025 11:37:39 -0700 Subject: [PATCH] Fix test --- tests/integration/api_branch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/api_branch_test.go b/tests/integration/api_branch_test.go index d50834514b..a1b7a2f5ed 100644 --- a/tests/integration/api_branch_test.go +++ b/tests/integration/api_branch_test.go @@ -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})