]> source.dussan.org Git - sonarqube.git/commitdiff
id should not be checked when creating new entry in db in DbUnit
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 16 Jun 2015 07:31:43 +0000 (09:31 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 16 Jun 2015 07:31:43 +0000 (09:31 +0200)
server/sonar-server/src/test/java/org/sonar/server/component/db/SnapshotDaoTest.java

index ceedae09448e6187f6591d8eee32d91eb127717e..121bc543bfaa3072de636431b302e8bf90cd0d06 100644 (file)
@@ -189,7 +189,7 @@ public class SnapshotDaoTest extends AbstractDaoTestCase {
     session.commit();
 
     assertThat(dto.getId()).isNotNull();
-    checkTables("insert", "snapshots");
+    checkTables("insert", new String[] {"id"}, "snapshots");
   }
 
   @Test