Files

28 lines
667 B
Markdown
Raw Permalink Normal View History

# Phase 3a: API CRUD Tests - Task Workflow (Task 14)
## Environment
- Tennis Club TenantId: 64e05b5e-ef45-81d7-f2e8-3d14bd197383
- Cycling Club TenantId: 3b4afcfa-1352-8fc7-b497-8ab52a0d5fda
- Test User: admin@test.com (Admin role in Tennis, Member role in Cycling)
---
## Test 1: Create New Task (POST /api/tasks)
### Request
```http
POST /api/tasks
X-Tenant-Id: 64e05b5e-ef45-81d7-f2e8-3d14bd197383
Authorization: Bearer <TOKEN_ADMIN>
Content-Type: application/json
{
"title": "QA Test Task - Replace Tennis Net",
"description": "QA automation test - replace center court net",
"priority": "High",
"dueDate": "2026-03-15T23:59:59Z"
}
```
### Response