aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-03 15:08:07 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-03 15:21:15 +0200
commitdd5fd97c77396e9d08a7ad4d0186e80ebd67f714 (patch)
treec77cabfb3f4b54fb7e3e16d5245b3e4174e6e569 /sonar-core/src/test
parent6275bb696f2afa523621a98a6f535e4c92ca0c4a (diff)
downloadsonarqube-dd5fd97c77396e9d08a7ad4d0186e80ebd67f714.tar.gz
sonarqube-dd5fd97c77396e9d08a7ad4d0186e80ebd67f714.zip
SONAR-5300 id should be a long instead of an integer
Diffstat (limited to 'sonar-core/src/test')
-rw-r--r--sonar-core/src/test/java/org/sonar/core/measure/db/MeasureDtoTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/measure/db/MeasureDtoTest.java b/sonar-core/src/test/java/org/sonar/core/measure/db/MeasureDtoTest.java
index 64171ee337a..833efb19116 100644
--- a/sonar-core/src/test/java/org/sonar/core/measure/db/MeasureDtoTest.java
+++ b/sonar-core/src/test/java/org/sonar/core/measure/db/MeasureDtoTest.java
@@ -30,7 +30,7 @@ public class MeasureDtoTest {
@Test
public void test_getter_and_setter() throws Exception {
MeasureDto measureDto = MeasureDto.createFor(MeasureKey.of("component", "metric"))
- .setId(10)
+ .setId(10L)
.setValue(2d)
.setTextValue("text value")
.setData(new byte[]{})