Fix update/delete testcase
A testcase has One-To-Many relations with tags, dependencies et domains. When updating/deleting a testcase, Api tries to set testcase_id as null for the corresponding rows in test_case_tags, test_case_dependencies and test_case_domains tables. This raises a NotNullViolation error.
Edited by TuanLe