trypost/tests/Feature/Api
Paulo Castellano fabce14aad feat: implement MCP server with tools, Post API tests, auth middleware
- Create TryPostServer MCP server with 17 tools:
  Post (List, Get, Create, Delete), Hashtag (List, Create, Update, Delete),
  Label (List, Create, Update, Delete), Workspace (Get),
  ApiKey (List, Create, Delete)
- Create AuthenticateMcpToken middleware (logs in workspace owner)
- Register mcp.auth middleware alias in bootstrap/app.php
- Create routes/ai.php with mcp.trypost.test subdomain
- Add PostApiTest with 6 tests (list, show, create, delete, isolation)
- Fix PostApiTest assertions for pagination/resource wrapping
- 704 tests passing, frontend build passing
2026-03-29 20:30:36 -03:00
..
ApiKeyApiTest.php feat: delete old controllers, add API tests, ApiKeys page, MCP route 2026-03-29 19:59:17 -03:00
AuthenticateApiTokenTest.php feat: delete old controllers, add API tests, ApiKeys page, MCP route 2026-03-29 19:59:17 -03:00
HashtagApiTest.php feat: delete old controllers, add API tests, ApiKeys page, MCP route 2026-03-29 19:59:17 -03:00
LabelApiTest.php feat: delete old controllers, add API tests, ApiKeys page, MCP route 2026-03-29 19:59:17 -03:00
PostApiTest.php feat: implement MCP server with tools, Post API tests, auth middleware 2026-03-29 20:30:36 -03:00
WorkspaceApiTest.php feat: delete old controllers, add API tests, ApiKeys page, MCP route 2026-03-29 19:59:17 -03:00