"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/build/PhaseTests.java" between
spring-boot-2.7.3.tar.gz and spring-boot-2.7.4.tar.gz

About: Spring Boot helps to create Spring-powered, production-grade applications and services.

PhaseTests.java  (spring-boot-2.7.3):PhaseTests.java  (spring-boot-2.7.4)
skipping to change at line 146 skipping to change at line 146
Phase phase = new Phase("test", true); Phase phase = new Phase("test", true);
phase.withNetworkMode("test"); phase.withNetworkMode("test");
Update update = mock(Update.class); Update update = mock(Update.class);
phase.apply(update); phase.apply(update);
then(update).should().withCommand("/cnb/lifecycle/test"); then(update).should().withCommand("/cnb/lifecycle/test");
then(update).should().withNetworkMode("test"); then(update).should().withNetworkMode("test");
then(update).should().withLabel("author", "spring-boot"); then(update).should().withLabel("author", "spring-boot");
then(update).shouldHaveNoMoreInteractions(); then(update).shouldHaveNoMoreInteractions();
} }
@Test
void applyWhenWithSecurityOptionsUpdatesConfigurationWithSecurityOptions(
) {
Phase phase = new Phase("test", true);
phase.withSecurityOption("option1=value1");
phase.withSecurityOption("option2=value2");
Update update = mock(Update.class);
phase.apply(update);
then(update).should().withCommand("/cnb/lifecycle/test");
then(update).should().withLabel("author", "spring-boot");
then(update).should().withSecurityOption("option1=value1");
then(update).should().withSecurityOption("option2=value2");
then(update).shouldHaveNoMoreInteractions();
}
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)