Fix DependencyCustomizerTests following merge of 1.0.x

pull/1016/head
Andy Wilkinson 11 years ago committed by Phillip Webb
parent 0d7da4375f
commit 059d504fd7

@ -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