trypost/tests/Unit/Models
Paulo Castellano 8689e54e55 refactor: restructure to Actions, subdomain routes (app/api), API tokens
- Extract business logic from controllers into Action classes:
  Post/, Workspace/, Hashtag/, Label/, Invite/, ApiKey/
- Create subdomain routing: app.trypost.test (Inertia dashboard),
  api.trypost.test (REST API with token auth)
- Add ApiToken model with tp_ prefix, token_lookup/hash auth
- Add AuthenticateApiToken middleware for API authentication
- Create Api controllers with JSON Resources for all entities
- Create App controllers that use Actions + Inertia responses
- Organize Form Requests into Api/ and App/ directories
- Add api_tokens migration
- Update all route names with app. prefix
- Update all tests to use new route names (684 passing)
2026-03-29 19:24:28 -03:00
..
LanguageTest.php feat: improvements on ui 2026-01-21 20:50:57 -03:00
MediaTest.php refactor: restructure to Actions, subdomain routes (app/api), API tokens 2026-03-29 19:24:28 -03:00
PostTest.php feat: adding tests.. 2026-01-18 21:49:13 -03:00
WorkspaceHashtagTest.php feat: adding tests.. 2026-01-18 21:49:13 -03:00
WorkspaceLabelTest.php feat: adding tests.. 2026-01-18 21:49:13 -03:00