aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-07 23:50:39 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-08 23:51:14 +0200
commit98d7550f629c192416f34a416a974f0deac76b90 (patch)
tree99e35ce637b6aae1c37f649871c8c238287e0f66 /sonar-db/src
parent7fcfb5979231dd5d476d8750c6e947d59e9f05c0 (diff)
downloadsonarqube-98d7550f629c192416f34a416a974f0deac76b90.tar.gz
sonarqube-98d7550f629c192416f34a416a974f0deac76b90.zip
Fix travis.sh to execute db tests on mysql and postgres
Diffstat (limited to 'sonar-db/src')
-rw-r--r--sonar-db/src/test/java/org/sonar/db/issue/IssueChangeDaoTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-db/src/test/java/org/sonar/db/issue/IssueChangeDaoTest.java b/sonar-db/src/test/java/org/sonar/db/issue/IssueChangeDaoTest.java
index 55795455542..e7686ee53e9 100644
--- a/sonar-db/src/test/java/org/sonar/db/issue/IssueChangeDaoTest.java
+++ b/sonar-db/src/test/java/org/sonar/db/issue/IssueChangeDaoTest.java
@@ -105,7 +105,8 @@ public class IssueChangeDaoTest {
dbTester.prepareDbUnit(getClass(), "selectChangelogOfNonClosedIssuesByComponent.xml");
List<IssueChangeDto> dtos = dao.selectChangelogOfNonClosedIssuesByComponent("FILE_1");
- assertThat(dtos).extracting("id").containsExactly(100L, 103L);
+ // no need to have ordered results (see NewDebtCalculator)
+ assertThat(dtos).extracting("id").containsOnly(100L, 103L);
}
@Test