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 b2cff09 commit d62286bCopy full SHA for d62286b
models/branch_test.go
@@ -51,11 +51,11 @@ func TestRefRepoInsert(t *testing.T) {
51
require.NoError(t, err)
52
require.Len(t, list, 1)
53
54
- // second
+ // SecondModel
55
secModel := &models.Branches{}
56
require.NoError(t, gofakeit.Struct(secModel))
57
secModel.RepositoryID = branch.RepositoryID
58
- branchModel.Name = "feat/bba/ccc"
+ secModel.Name = "feat/bba/ccc"
59
secRef, err := repo.Insert(ctx, secModel)
60
61
require.NotEqual(t, uuid.Nil, secRef.ID)
0 commit comments