Files
orion/tests/integration/api/v1/admin
Samir Boulahtit fa2a3bf89a feat: make Product fully independent from MarketplaceProduct
- Add is_digital and product_type columns to Product model
- Remove is_digital/product_type properties that derived from MarketplaceProduct
- Update Create form with translation tabs, GTIN type, sale price, VAT rate, image
- Update Edit form to allow editing is_digital (remove disabled state)
- Add Availability field to Edit form
- Fix Detail page for directly created products (no marketplace source)
- Update vendor_product_service to handle new fields in create/update
- Add VendorProductCreate/Update schema fields for translations and is_digital
- Add unit tests for is_digital column and direct product creation
- Add integration tests for create/update API with new fields
- Create product-architecture.md documenting the independent copy pattern
- Add migration y3d4e5f6g7h8 for is_digital and product_type columns

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 01:11:00 +01:00
..
2025-11-21 23:16:21 +01:00
2025-11-21 23:16:21 +01:00

Admin API Integration Tests

Documentation

For comprehensive testing documentation, see:

Test Structure Guide in MkDocs

Quick Start

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

Status

⚠️ Tests to be migrated from legacy test files.

See Test Structure Guide for migration details.