From 9b6dcfe706b8bafe2c18bb152ebc2b50ecb4c289 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 3 Apr 2014 18:22:02 +0200 Subject: [PATCH] Fix unit test --- .../test/java/org/sonar/core/component/ComponentVertexTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-core/src/test/java/org/sonar/core/component/ComponentVertexTest.java b/sonar-core/src/test/java/org/sonar/core/component/ComponentVertexTest.java index 5a4a608ca9c..377b9b53242 100644 --- a/sonar-core/src/test/java/org/sonar/core/component/ComponentVertexTest.java +++ b/sonar-core/src/test/java/org/sonar/core/component/ComponentVertexTest.java @@ -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); -- 2.39.5