@@ -108,7 +108,7 @@ func setup(t *testing.T) fxs { |
| 108 | pubRepo, err := rq.CreateRepo(ctx, pool, reposdb.CreateRepoParams{ | 108 | pubRepo, err := rq.CreateRepo(ctx, pool, reposdb.CreateRepoParams{ |
| 109 | OwnerUserID: pgtype.Int8{Int64: alice.ID, Valid: true}, | 109 | OwnerUserID: pgtype.Int8{Int64: alice.ID, Valid: true}, |
| 110 | Name: "publicrepo", | 110 | Name: "publicrepo", |
| 111 | - Description: "a public sample", | 111 | + Description: "a public repo sample", |
| 112 | DefaultBranch: "trunk", | 112 | DefaultBranch: "trunk", |
| 113 | Visibility: reposdb.RepoVisibilityPublic, | 113 | Visibility: reposdb.RepoVisibilityPublic, |
| 114 | }) | 114 | }) |
@@ -118,7 +118,7 @@ func setup(t *testing.T) fxs { |
| 118 | prvRepo, err := rq.CreateRepo(ctx, pool, reposdb.CreateRepoParams{ | 118 | prvRepo, err := rq.CreateRepo(ctx, pool, reposdb.CreateRepoParams{ |
| 119 | OwnerUserID: pgtype.Int8{Int64: alice.ID, Valid: true}, | 119 | OwnerUserID: pgtype.Int8{Int64: alice.ID, Valid: true}, |
| 120 | Name: "privaterepo", | 120 | Name: "privaterepo", |
| 121 | - Description: "secrets here", | 121 | + Description: "private repo secrets here", |
| 122 | DefaultBranch: "trunk", | 122 | DefaultBranch: "trunk", |
| 123 | Visibility: reposdb.RepoVisibilityPrivate, | 123 | Visibility: reposdb.RepoVisibilityPrivate, |
| 124 | }) | 124 | }) |
@@ -135,7 +135,7 @@ func setup(t *testing.T) fxs { |
| 135 | idep := issues.Deps{Pool: pool, Logger: slog.New(slog.NewTextHandler(io.Discard, nil))} | 135 | idep := issues.Deps{Pool: pool, Logger: slog.New(slog.NewTextHandler(io.Discard, nil))} |
| 136 | if _, err := issues.Create(ctx, idep, issues.CreateParams{ | 136 | if _, err := issues.Create(ctx, idep, issues.CreateParams{ |
| 137 | RepoID: pubRepo.ID, AuthorUserID: alice.ID, | 137 | RepoID: pubRepo.ID, AuthorUserID: alice.ID, |
| 138 | - Title: "public bug report", Body: "nothing secret", | 138 | + Title: "public bug report", Body: "nothing sensitive", |
| 139 | }); err != nil { | 139 | }); err != nil { |
| 140 | t.Fatalf("Create issue pub: %v", err) | 140 | t.Fatalf("Create issue pub: %v", err) |
| 141 | } | 141 | } |