mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-24 17:59:52 +00:00
fix: move testSuite summary state update to preDelete (#13180)
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
This commit is contained in:
parent
ffa5248ef2
commit
a9ce04c129
@ -405,7 +405,7 @@ public class TestCaseRepository extends EntityRepository<TestCase> {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void postDelete(TestCase entity) {
|
||||
protected void preDelete(TestCase entity, String deletedBy) {
|
||||
// delete test case from test suite summary when test case is deleted
|
||||
// from an executable test suite
|
||||
List<TestSuite> testSuites = getTestSuites(entity);
|
||||
|
Loading…
x
Reference in New Issue
Block a user