mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-03 03:43:54 +01:00
Fix DependencyCustomizerTests following merge of 1.0.x
This commit is contained in:
committed by
Phillip Webb
parent
0d7da4375f
commit
059d504fd7
+4
-1
@@ -57,11 +57,14 @@ public class DependencyCustomizerTests {
|
||||
|
||||
when(this.resolver.getGroupId("spring-boot-starter-logging")).thenReturn(
|
||||
"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");
|
||||
|
||||
this.moduleNode.addClass(this.classNode);
|
||||
this.dependencyCustomizer = new DependencyCustomizer(new GroovyClassLoader(
|
||||
getClass().getClassLoader()), this.moduleNode, this.resolver);
|
||||
getClass().getClassLoader()), this.moduleNode,
|
||||
new DependencyResolutionContext(this.resolver));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user