Skip to content

OJ-1539: Replace audit logic with cri-audit and use cri-types #2283

OJ-1539: Replace audit logic with cri-audit and use cri-types

OJ-1539: Replace audit logic with cri-audit and use cri-types #2283

Triggered via pull request January 14, 2026 16:10
Status Failure
Total duration 4m 57s
Artifacts 1

check-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Run tests / API
Process completed with exit code 1.
Given the session and NINO is valid › Should receive a 200 response when /check endpoint is called without optional headers: integration-tests/api-gateway/check/check-lambda-happy.test.ts#L84
expect(received).toStrictEqual(expected) // deep equality - Expected - 25 + Received + 4 @@ -1,34 +1,13 @@ Object { "component_id": StringMatching /^https:\/\/.+\.account\.gov\.uk$/, - "event_name": "IPV_HMRC_RECORD_CHECK_CRI_REQUEST_SENT", + "event_name": "IPV_HMRC_RECORD_CHECK_CRI_RESPONSE_RECEIVED", "event_timestamp_ms": Any<Number>, - "restricted": Object { - "birthDate": Array [ - Object { - "value": "1965-07-08", - }, - ], - "name": Array [ - Object { - "nameParts": Array [ - Object { - "type": "GivenName", - "value": "KENNETH", - }, - Object { - "type": "FamilyName", - "value": "DECERQUEIRA", - }, - ], + "extensions": Object { + "evidence": Object { + "txn": "mock_txn_header", }, - ], - "socialSecurityRecord": Array [ - Object { - "personalNumber": "AA123456C", - }, - ], }, "timestamp": Any<Number>, "user": ObjectContaining { "govuk_signin_journey_id": StringMatching /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/, "ip_address": Any<String>, at Object.<anonymous> (check/check-lambda-happy.test.ts:84:40)

Artifacts

Produced during runtime
Name Size Digest
coverage
4.59 KB
sha256:be77c72455087221378550613469c718e9b04aa379ad388c317d8375ab1a2a5f