From: Sébastien Lesaint Date: Thu, 20 Oct 2016 07:30:10 +0000 (+0200) Subject: make PermissionTemplateDaoTest more stable X-Git-Tag: 6.2-RC1~322 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8e7e9027e1b826e022b8e9aa69aaa2201c282311;p=sonarqube.git make PermissionTemplateDaoTest more stable --- diff --git a/sonar-db/src/test/java/org/sonar/db/permission/template/PermissionTemplateDaoTest.java b/sonar-db/src/test/java/org/sonar/db/permission/template/PermissionTemplateDaoTest.java index 0cc55cc8092..b4d3ed70416 100644 --- a/sonar-db/src/test/java/org/sonar/db/permission/template/PermissionTemplateDaoTest.java +++ b/sonar-db/src/test/java/org/sonar/db/permission/template/PermissionTemplateDaoTest.java @@ -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"); } }