]> source.dussan.org Git - sonarqube.git/commitdiff
Fix unit test
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 3 Apr 2014 16:22:02 +0000 (18:22 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 3 Apr 2014 16:22:02 +0000 (18:22 +0200)
sonar-core/src/test/java/org/sonar/core/component/ComponentVertexTest.java

index 5a4a608ca9c00f5629631def9f6b7babb4f322b9..377b9b53242f319671be4326f070d3ded819988c 100644 (file)
@@ -36,7 +36,7 @@ public class ComponentVertexTest {
     BeanGraph beanGraph = new BeanGraph(new TinkerGraph());
     ComponentVertex vertex = beanGraph.createVertex(ComponentVertex.class);
     Component file = MockSourceFile.createMain("myproject:org/Foo.java").setName("Foo.java").setQualifier(Qualifiers.FILE)
-      .setPath("src/org/Foo.java").setModuleKey("myproject");
+      .setPath("src/org/Foo.java");
 
     vertex.copyFrom(file);