]> source.dussan.org Git - sonarqube.git/commit
Fix PermissionTemplateCharacteristicDaoTest
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 17 Oct 2016 10:30:02 +0000 (12:30 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 17 Oct 2016 10:30:26 +0000 (12:30 +0200)
commit78e5ea11de397d85eae764924a23979cd1d3cca4
tree6437833eec3f57e56a523709d4b78831989bd96b
parent6bbc81b3eb838f9e721eea947513fc86a33fc05e
Fix PermissionTemplateCharacteristicDaoTest

Test was passing for a bad reason: ids of template and
 characteristic were the sames in the test.
sonar-db/src/main/java/org/sonar/db/permission/template/PermissionTemplateCharacteristicMapper.java
sonar-db/src/main/resources/org/sonar/db/permission/template/PermissionTemplateCharacteristicMapper.xml
sonar-db/src/test/java/org/sonar/db/permission/template/PermissionTemplateCharacteristicDaoTest.java