Files
orion/tests/integration/api/v1
Samir Boulahtit 81e5cb41d6 fix: admin logout clears only admin tokens + add signup token tests
- Fix admin header.html logout to not use localStorage.clear()
  which was clearing vendor/customer tokens too
- Add tests for signup access_token generation
- Test that token is returned in response
- Test that token can authenticate API calls
- Test that vendor_token cookie is set

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 18:18:23 +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