From 0868edd97e381ecd5581d0c3ba2a72c993966091 Mon Sep 17 00:00:00 2001
From: Teryk Bellahsene <teryk.bellahsene@sonarsource.com>
Date: Thu, 18 Jun 2015 14:59:47 +0200
Subject: SONAR-6616 WS custom_measures/delete fix MySql unit test...

---
 .../test/java/org/sonar/server/measure/custom/ws/DeleteActionTest.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/sonar-server/src/test/java/org/sonar/server/measure/custom/ws/DeleteActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/measure/custom/ws/DeleteActionTest.java
index 6beb7592748..649565ae477 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/measure/custom/ws/DeleteActionTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/measure/custom/ws/DeleteActionTest.java
@@ -80,10 +80,8 @@ public class DeleteActionTest {
   public void delete_in_db() throws Exception {
     long id = insertCustomMeasure(newCustomMeasureDto());
     long anotherId = insertCustomMeasure(newCustomMeasureDto());
-    assertThat(dbClient.customMeasureDao().selectNullableById(dbSession, id)).isNotNull();
 
     WsTester.Result response = newRequest().setParam(PARAM_ID, String.valueOf(id)).execute();
-    dbSession.commit();
 
     assertThat(dbClient.customMeasureDao().selectNullableById(dbSession, id)).isNull();
     assertThat(dbClient.customMeasureDao().selectNullableById(dbSession, anotherId)).isNotNull();
-- 
cgit v1.2.3