]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7903 fix unit test on MSSQL
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 5 Aug 2016 08:27:22 +0000 (10:27 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 5 Aug 2016 13:45:01 +0000 (15:45 +0200)
sonar-db/src/test/java/org/sonar/db/ce/CeTaskDataDaoTest.java

index 42704cc027a52e509c2d1bf47153b9b30f1a7d28..f176a0b8ec0a3152cf2af7c8e53b965014635d8e 100644 (file)
@@ -38,7 +38,7 @@ public class CeTaskDataDaoTest {
   private static final String A_UUID = "U1";
   private static final String SOME_DATA = "this_is_a_report";
   private static final long NOW = 1_500_000_000_000L;
-  private static final String TABLE_NAME = "CE_TASK_DATA";
+  private static final String TABLE_NAME = "ce_task_data";
 
   @Rule
   public DbTester dbTester = DbTester.create(System2.INSTANCE);
@@ -108,7 +108,7 @@ public class CeTaskDataDaoTest {
   }
 
   private void insertData(String uuid) {
-    dbTester.executeInsert(TABLE_NAME, "TASK_UUID", uuid, "CREATED_AT", NOW, "UPDATED_AT", NOW);
+    dbTester.executeInsert(TABLE_NAME, "task_uuid", uuid, "created_at", NOW, "updated_at", NOW);
     dbTester.commit();
   }
 }