Update Project By Project ID With Test Model ID Boolean True causes the Test Model ID to revert to 1 #427
Labels
api
API Testing
frontend-apigw
frontend api gateway
Normal Defect
Defect Severity: Normal
SIT
SIT Environment
Is there an existing issue for this?
Description
Update Project By Project ID With Test Model ID Boolean True causes the Test Model ID to revert to 1
Current Behavior
Update Project By Project ID With Test Model ID Boolean True causes the Test Model ID to revert to 1. This causes it to use the Test Model ID "1" instead of rejecting the API Requests.
Expected Behavior
Update Project API should reject the Update API Request when the Test Model ID is true.
Steps To Reproduce
Data Object:
{ "globalVars": [ { "key": "test", "value": "string" } ], "pages": [], "projectInfo": { "company": "Company ABC", "description": "My Test Project Description", "name": "My Test Project", "reportTitle": "My Report Title" }, "testModelId": true, "inputBlocks": [1], "testResults": [2] }
Use Update Project API with the above Object.
Environment
Screenshots/ Code snippets
No response
Additional Context
No response
Possible Solution (Optional)
No response
The text was updated successfully, but these errors were encountered: