aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-11 11:39:54 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-11 11:39:54 +0200
commit8f7d6c7378e522c643d1e6bc6cacaf078763c749 (patch)
tree4b01dae3247429440239354780407518bce7d642
parent81ae9d67d0e0eebb06c50ac2ee101f54863dfab2 (diff)
downloadsonarqube-8f7d6c7378e522c643d1e6bc6cacaf078763c749.tar.gz
sonarqube-8f7d6c7378e522c643d1e6bc6cacaf078763c749.zip
SONAR-4464 Added permission template tables to the set of tables copied when starting a dry run analysis
-rw-r--r--sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml b/sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml
new file mode 100644
index 00000000000..623ed1fd453
--- /dev/null
+++ b/sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml
@@ -0,0 +1,9 @@
+<dataset>
+
+ <permission_templates id="1" name="my template" description="my description"/>
+
+ <perm_templates_users id="1" template_id="1" user_id="1" permission_reference="codeviewer"/>
+
+ <perm_templates_groups id="1" template_id="1" group_id="1" permission_reference="admin"/>
+
+</dataset> \ No newline at end of file