catch up wrong db_env with 400 http code err
Closed this issue · 3 comments
Areso commented
catch up wrong db_env with 400 http code err
Areso commented
added this check to the code
Areso commented
payload
{
"content": "error: DB environment isn't found or isn't available for order"
}
r.code=400
lambotik commented
============================== 1 passed in 0.45s ==============================
PASSED [100%]
Method POST: post_db_create_wrong_value_env
https://dbend.areso.pro/db_create
Status code: 400
Response body: {
"content": "error: DB environment isn't found or isn't available for order"
}
{'content': "error: DB environment isn't found or isn't available for order"}
Assert expected status code: 400 == Response status code: 400
Value: error: DB environment isn't found or isn't available for order
is presence in key: content
Process finished with exit code 0