php-tenant/tests
Claude 814b7fecc7
test: add WorkspaceController API endpoint tests
Add comprehensive feature tests for WorkspaceController covering all
CRUD operations and workspace switching logic. 46 tests with 97
assertions verify: listing with pagination/filtering/search, show with
access control, create with owner attachment, update with role-based
permissions (owner/admin/member/outsider), delete with ownership and
single-workspace guards, switch with hub-domain scoping and transaction
atomicity, and current workspace resolution with fallback.

Fixes #29

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:57:32 +00:00
..
Feature test: add WorkspaceController API endpoint tests 2026-03-24 13:57:32 +00:00
Pest.php chore: fix pint code style and add test config 2026-02-23 03:50:04 +00:00
TestCase.php fix(tenant): add strict_types and fix PSR-12 compliance across all PHP files 2026-03-17 09:11:54 +00:00