From 1d9b7a1a614ae5d5586542e8fb93ccc16a158fdb Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 30 Aug 2025 17:34:57 -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 06a9c5c9d8..118a1ba970 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, 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})