Files
orion/tests/integration/api/v1
Samir Boulahtit feca2e19fe fix: update letzshop API to use unified Order model properties
- Change message exceptions (MessageAttachmentException,
  InvalidConversationTypeException, InvalidRecipientTypeException)
  to extend BusinessLogicException instead of ValidationException
  which doesn't accept error_code parameter

- Update vendor letzshop API endpoints:
  - Change sync_status query param to status in list_orders()
  - Fix response mapping to use unified Order model properties
    (external_order_id, external_shipment_id, status, etc.)
  - Fix confirm_order() to get inventory unit IDs from order items
  - Fix set_tracking() to use external_shipment_id

- Add order_date to test fixtures (required NOT NULL field)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 23:13:00 +01:00
..
2025-11-21 23:16:21 +01:00
2025-11-21 23:16:21 +01:00
2025-09-21 13:00:10 +02:00
2025-11-21 23:16:21 +01:00

API v1 Integration Tests

Documentation

For comprehensive test structure documentation, please see:

Test Structure Guide in MkDocs

Quick Start

# Run all v1 API tests
pytest tests/integration/api/v1/ -v

# Run specific area
pytest tests/integration/api/v1/vendor/ -v
pytest tests/integration/api/v1/admin/ -v
pytest tests/integration/api/v1/public/ -v
pytest tests/integration/api/v1/shared/ -v

Structure

tests/integration/api/v1/
├── admin/      # Admin API tests
├── vendor/     # Vendor API tests
├── public/     # Public API tests
└── shared/     # Shared/common tests

See full documentation: Test Structure Guide