]> source.dussan.org Git - sonarqube.git/commitdiff
Fix query on MySQL
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 4 Jun 2015 13:49:29 +0000 (15:49 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 4 Jun 2015 13:49:29 +0000 (15:49 +0200)
server/sonar-server/src/test/java/org/sonar/server/component/db/SnapshotDaoTest.java

index 019d376fdcb988d7316d7707b175670bbe42b47c..bea09d7d4e37b3433401620c678a5e3a4827aa15 100644 (file)
@@ -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