feat(identity): confirm registration email atomically
This commit is contained in:
1 parent
8e7ce8d71c
commit
fade4e76e4
75 files changed
+4188
-403
No files matched your search
@@ -152,14 +152,15 @@ func TestConsentRecordFromRowMapsNullableScope(t *testing.T) {
|
||||
}
|
||||
|
||||
personalData, err := consentRecordFromRow(consentRecordRow{
|
||||
ID: pgUUID(uuid.Must(uuid.NewV7())),
|
||||
SubjectID: pgUUID(subject),
|
||||
Purpose: "c1",
|
||||
TextVersion: "c1-2026-10-01",
|
||||
TextHash: hash[:],
|
||||
Source: "registration",
|
||||
GrantedAt: pgTime(grantedAt),
|
||||
State: "active",
|
||||
ID: pgUUID(uuid.Must(uuid.NewV7())),
|
||||
SubjectID: pgUUID(subject),
|
||||
Purpose: "c1",
|
||||
TextVersion: "c1-2026-10-01",
|
||||
TextHash: hash[:],
|
||||
Source: "registration",
|
||||
RegistrationVersion: pgtype.Int8{Int64: 1, Valid: true},
|
||||
GrantedAt: pgTime(grantedAt),
|
||||
State: "active",
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("consentRecordFromRow(C1) error = %v", err)
|
||||
|
||||
Reference in new issue
Block a user