]> source.dussan.org Git - sonarqube.git/commitdiff
make PermissionTemplateDaoTest more stable
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 20 Oct 2016 07:30:10 +0000 (09:30 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 20 Oct 2016 15:17:54 +0000 (17:17 +0200)
sonar-db/src/test/java/org/sonar/db/permission/template/PermissionTemplateDaoTest.java

index 0cc55cc8092f4178c3840a5e458dda242c595f89..b4d3ed70416681fc5282e529053df5f2cd21910b 100644 (file)
@@ -367,8 +367,8 @@ public class PermissionTemplateDaoTest {
 
   private void checkTemplateTables(String fileName) {
     db.assertDbUnitTable(getClass(), fileName, "permission_templates", "id", "name", "description");
-    db.assertDbUnitTable(getClass(), fileName, "perm_templates_users", "id", "template_id", "user_id", "permission_reference");
-    db.assertDbUnitTable(getClass(), fileName, "perm_templates_groups", "id", "template_id", "group_id", "permission_reference");
+    db.assertDbUnitTable(getClass(), fileName, "perm_templates_users", "template_id", "user_id", "permission_reference");
+    db.assertDbUnitTable(getClass(), fileName, "perm_templates_groups", "template_id", "group_id", "permission_reference");
   }
 
 }