Skip to content

Commit 1b541fc

Browse files
Test for improvement to condition to trigger java-cfenv framework
1 parent 367bc81 commit 1b541fc

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Main-Class: org.springframework.boot.loader.JarLauncher
2+

spec/fixtures/framework_java_not_spring_boot3/WEB-INF/lib/spring-boot-3.2.3.RELEASE.jar

Whitespace-only changes.

spec/java_buildpack/framework/java_cfenv_spec.rb

+6
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
expect(component.detect).to be_nil
4040
end
4141

42+
it 'does not detect with Spring Boot 3 named jar but not Spring Boot 3 Manifest',
43+
app_fixture: 'framework_java_not_spring_boot3' do
44+
45+
expect(component.detect).to be_nil
46+
end
47+
4248
it 'does not detect with Spring Boot 3 & java-cfenv present',
4349
app_fixture: 'framework_java_cf_exists' do
4450

0 commit comments

Comments
 (0)