Create new employee
✅ [1 / 1] Assertion Passed! response must be valid and have a body
Create new client
✅ [1 / 1] Assertion Passed! response must be valid and have a body
Create new contract
✅ [1 / 1] Assertion Passed! response must be valid and have a body
Create new client for update
✅ [1 / 1] Assertion Passed! response must be valid and have a body
Create new employee for update
✅ [1 / 1] Assertion Passed! response must be valid and have a body
Create new contract for update
✅ [1 / 1] Assertion Passed! response must be valid and have a body
Create new history
✅ [1 / 3] Assertion Passed! response must be valid and have a body
✅ [2 / 3] Assertion Passed! response body should contain id, clientId, contractId, employeeId and role fields
✅ [3 / 3] Assertion Passed! response should have correct ids and role
Get new history by ID
✅ [1 / 3] Assertion Passed! response must be valid and have a body
✅ [2 / 3] Assertion Passed! response body should contain id, clientId, contractId, employeeId and role fields
✅ [3 / 3] Assertion Passed! response should have correct ids and role
Get all history
✅ [1 / 2] Assertion Passed! response must be valid and have a body
✅ [2 / 2] Assertion Passed! response must contain test history
Illegal update
✅ [1 / 1] Assertion Passed! Updates to ID should not be allowed. Response should return a 400
Update history
✅ [1 / 3] Assertion Passed! response must be valid and have a body
✅ [2 / 3] Assertion Passed! response body should contain id, clientId, contractId, employeeId and role fields
✅ [3 / 3] Assertion Passed! response should have updated name and url
Get updated history by ID
✅ [1 / 3] Assertion Passed! response must be valid and have a body
✅ [2 / 3] Assertion Passed! response body should contain id, clientId, contractId, employeeId and role fields
✅ [3 / 3] Assertion Passed! response should have correct id name and url
Get all history post update
✅ [1 / 2] Assertion Passed! response must be valid and have a body
✅ [2 / 2] Assertion Passed! response must contain test history
Delete history
✅ [1 / 1] Assertion Passed! response must have OK status
Get history by ID post delete
✅ [1 / 1] Assertion Passed! response should return a 404
Get all history post delete
✅ [1 / 2] Assertion Passed! response must be valid and have a body
✅ [2 / 2] Assertion Passed! response must not contain test history
Delete contract
✅ [1 / 1] Assertion Passed! response must have OK status
Delete contract for update
✅ [1 / 1] Assertion Passed! response must have OK status
Delete client
✅ [1 / 1] Assertion Passed! response must have OK status
Delete client for update
✅ [1 / 1] Assertion Passed! response must have OK status
Delete employee
✅ [1 / 1] Assertion Passed! response must have OK status
Delete employee for update
✅ [1 / 1] Assertion Passed! response must have OK status
Create bad history
✅ [1 / 1] Assertion Passed! Missing or invalid clientId, contractId, or employeeId response should return a 400
Update missing history
✅ [1 / 1] Assertion Passed! response should return a 404
Delete missing history
✅ [1 / 1] Assertion Passed! response should return a 404