Skip to content

Commit 8ca4d20

Browse files
committed
fix: add missing PrNumber and ForkRepositoryFullName fields to test harnesses
1 parent 600ef14 commit 8ca4d20

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

svc/ctrl/integration/harness.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ func (h *Harness) CreateDeployment(ctx context.Context, req CreateDeploymentRequ
143143
CreatedAt: h.Now(),
144144
UpdatedAt: sql.NullInt64{Valid: false},
145145
Command: nil,
146+
PrNumber: sql.NullInt64{Valid: false},
147+
ForkRepositoryFullName: sql.NullString{Valid: false},
146148
})
147149
require.NoError(h.t, err)
148150

svc/ctrl/integration/seed/seed.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ func (s *Seeder) CreateDeployment(ctx context.Context, req CreateDeploymentReque
348348
Port: 8080,
349349
ShutdownSignal: db.DeploymentsShutdownSignalSIGINT,
350350
Healthcheck: dbtype.NullHealthcheck{Healthcheck: nil, Valid: false},
351+
PrNumber: sql.NullInt64{Int64: 0, Valid: false},
352+
ForkRepositoryFullName: sql.NullString{String: "", Valid: false},
351353
})
352354
require.NoError(s.t, err)
353355

0 commit comments

Comments
 (0)