diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-08-17 17:40:02 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-08-22 10:25:43 +0200 |
commit | e2b192341cea719265c7d0860e4eb12032b1e6e2 (patch) | |
tree | 7993602f3e8b3d7a69da8f680718259b9cbd0c50 /sonar-db/src/test/resources | |
parent | 2dbe71c53c39b3b4cf41b2faf0ecec3d8e888809 (diff) | |
download | sonarqube-e2b192341cea719265c7d0860e4eb12032b1e6e2.tar.gz sonarqube-e2b192341cea719265c7d0860e4eb12032b1e6e2.zip |
SONAR-7911 purge scanner_context table when analysis is deleted
Diffstat (limited to 'sonar-db/src/test/resources')
2 files changed, 2 insertions, 1 deletions
diff --git a/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml b/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml index bef7ebe6aff..e0dd2801321 100644 --- a/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml +++ b/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml @@ -21,7 +21,7 @@ Snapshot 2 has been deleted authorization_updated_at="[null]" id="1" enabled="[true]" - root_id="[null]"/> + root_uuid="P1"/> <!-- past snapshot with status "processed" and already purged --> <snapshots id="1" diff --git a/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses.xml b/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses.xml index 1596238b8d1..d4cdd256532 100644 --- a/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses.xml +++ b/sonar-db/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses.xml @@ -80,4 +80,5 @@ build_date="1228222680000" version="[null]" /> + </dataset> |