Skip to content

LCFS-1654: Protect routes for compliance report #1822

LCFS-1654: Protect routes for compliance report

LCFS-1654: Protect routes for compliance report #1822

Triggered via pull request January 16, 2025 22:58
Status Failure
Total duration 5m 31s
Artifacts 2

docker-auto-test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
backend-tests: backend/lcfs/tests/compliance_report/test_compliance_report_views.py#L255
test_get_compliance_report_by_id_success fastapi.exceptions.ResponseValidationError: 1 validation errors: {'type': 'missing', 'loc': ('response', 'report'), 'msg': 'Field required', 'input': ComplianceReportBaseSchema(compliance_report_id=1, compliance_report_group_uuid='229578c6-0983-4975-a936-66e08954b083', version=0, supplemental_initiator=None, compliance_period_id=1, compliance_period=CompliancePeriodSchema(compliance_period_id=1, description='2024', effective_date=datetime.datetime(2024, 1, 1, 0, 0), expiration_date=datetime.datetime(2024, 3, 31, 0, 0), display_order=1), organization_id=1, organization=ComplianceReportOrganizationSchema(organization_id=1, name='Acme Corporation'), summary=SummarySchema(summary_id=1, is_locked=False), current_status_id=1, current_status=ComplianceReportStatusSchema(compliance_report_status_id=1, status='Draft'), transaction_id=None, nickname='Annual Compliance', supplemental_note='Initial submission.', reporting_frequency=None, update_date=datetime.datetime(2024, 4, 1, 12, 0), history=[ComplianceReportHistorySchema(compliance_report_history_id=1, compliance_report_id=1, status=ComplianceReportStatusSchema(compliance_report_status_id=1, status='Draft'), user_profile=ComplianceReportUserSchema(first_name='John', last_name='Doe', organization=ComplianceReportOrganizationSchema(organization_id=1, name='Acme Corporation')), create_date=datetime.datetime(2024, 4, 1, 12, 0))], has_supplemental=False, legacy_id=None)}
backend-tests
Process completed with exit code 1.
frontend-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
pytest-results
7.32 KB
vitest-results
18.7 KB