We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe71956 commit 7a30f43Copy full SHA for 7a30f43
tests/integration/api_branch_test.go
@@ -303,7 +303,7 @@ func TestAPICreateBranchWithSyncBranches(t *testing.T) {
303
RepoID: 1,
304
})
305
assert.NoError(t, err)
306
- assert.Len(t, branches, 5)
+ assert.Len(t, branches, 6)
307
308
// make a broke repository with no branch on database
309
_, err = db.DeleteByBean(db.DefaultContext, git_model.Branch{RepoID: 1})
@@ -320,7 +320,7 @@ func TestAPICreateBranchWithSyncBranches(t *testing.T) {
320
321
322
323
- assert.Len(t, branches, 6)
+ assert.Len(t, branches, 7)
324
325
branches, err = db.Find[git_model.Branch](db.DefaultContext, git_model.FindBranchOptions{
326
0 commit comments