Skip to content

Commit

Permalink
Do not use specific version
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielFran committed Jan 28, 2022
1 parent ab10540 commit 67369f8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SpringBootDomainServiceTest {
@Test
void shouldInit() {
Project project = tmpProjectWithPomXml();
when(buildToolService.getVersion(project, "spring-boot")).thenReturn(Optional.of("2.6.3"));
when(buildToolService.getVersion(project, "spring-boot")).thenReturn(Optional.of("0.0.0"));

springBootDomainService.init(project);

Expand All @@ -54,7 +54,7 @@ void shouldInit() {
@Test
void shouldAddSpringBootParent() {
Project project = tmpProjectWithPomXml();
when(buildToolService.getVersion(project, "spring-boot")).thenReturn(Optional.of("2.6.3"));
when(buildToolService.getVersion(project, "spring-boot")).thenReturn(Optional.of("0.0.0"));

springBootDomainService.addSpringBootParent(project);

Expand All @@ -80,7 +80,7 @@ void shouldAddSpringBootDependencies() {
@Test
void shouldAddSpringBootPlugin() {
Project project = tmpProjectWithPomXml();
when(buildToolService.getVersion(project, "spring-boot")).thenReturn(Optional.of("2.6.3"));
when(buildToolService.getVersion(project, "spring-boot")).thenReturn(Optional.of("0.0.0"));

springBootDomainService.addSpringBootMavenPlugin(project);

Expand Down

0 comments on commit 67369f8

Please sign in to comment.