Skip to content

Commit d62286b

Browse files
committed
fix: fix branch model name
1 parent b2cff09 commit d62286b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/branch_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ func TestRefRepoInsert(t *testing.T) {
5151
require.NoError(t, err)
5252
require.Len(t, list, 1)
5353

54-
// second
54+
// SecondModel
5555
secModel := &models.Branches{}
5656
require.NoError(t, gofakeit.Struct(secModel))
5757
secModel.RepositoryID = branch.RepositoryID
58-
branchModel.Name = "feat/bba/ccc"
58+
secModel.Name = "feat/bba/ccc"
5959
secRef, err := repo.Insert(ctx, secModel)
6060
require.NoError(t, err)
6161
require.NotEqual(t, uuid.Nil, secRef.ID)

0 commit comments

Comments
 (0)