Browse Source

Fix DependencyCustomizerTests following merge of 1.0.x

pull/1016/head
Andy Wilkinson 12 years ago committed by Phillip Webb
parent
commit
059d504fd7
  1. 5
      spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/DependencyCustomizerTests.java

5
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/DependencyCustomizerTests.java

@ -57,11 +57,14 @@ public class DependencyCustomizerTests {
when(this.resolver.getGroupId("spring-boot-starter-logging")).thenReturn( when(this.resolver.getGroupId("spring-boot-starter-logging")).thenReturn(
"org.springframework.boot"); "org.springframework.boot");
when(this.resolver.getArtifactId("spring-boot-starter-logging")).thenReturn(
"spring-boot-starter-logging");
when(this.resolver.getVersion("spring-boot-starter-logging")).thenReturn("1.2.3"); when(this.resolver.getVersion("spring-boot-starter-logging")).thenReturn("1.2.3");
this.moduleNode.addClass(this.classNode); this.moduleNode.addClass(this.classNode);
this.dependencyCustomizer = new DependencyCustomizer(new GroovyClassLoader( this.dependencyCustomizer = new DependencyCustomizer(new GroovyClassLoader(
getClass().getClassLoader()), this.moduleNode, this.resolver); getClass().getClassLoader()), this.moduleNode,
new DependencyResolutionContext(this.resolver));
} }
@Test @Test

Loading…
Cancel
Save