summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-06-04 15:49:29 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-06-04 15:49:29 +0200
commit107396992a8ea047b99c17f1c114011652e3539f (patch)
treefc29170303e5aad1a6316dcadb45893044f04999
parent406435360f01dab8729475a5d57731f10efaaefd (diff)
downloadsonarqube-107396992a8ea047b99c17f1c114011652e3539f.tar.gz
sonarqube-107396992a8ea047b99c17f1c114011652e3539f.zip
Fix query on MySQL
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/component/db/SnapshotDaoTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/db/SnapshotDaoTest.java b/server/sonar-server/src/test/java/org/sonar/server/component/db/SnapshotDaoTest.java
index 019d376fdcb..bea09d7d4e3 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/db/SnapshotDaoTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/component/db/SnapshotDaoTest.java
@@ -109,7 +109,7 @@ public class SnapshotDaoTest extends AbstractDaoTestCase {
session.commit();
assertThat(dto.getId()).isNotNull();
- checkTables("insert", "snapshots");
+ checkTables("insert", new String[] {"id"}, "snapshots");
}
@Test