Skip to content

Commit 5cf4798

Browse files
committed
Fixed the build pipeline
1 parent 4788943 commit 5cf4798

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

auth0-springboot-api/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ test {
5151
}
5252
}
5353

54-
// Don't build executable JAR for library
54+
bootJar {
55+
enabled = false
56+
}
57+
5558
jar {
5659
enabled = true
5760
archiveClassifier = ''

auth0-springboot-api/src/test/java/com/auth0/spring/boot/Auth0AutoConfigurationTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* <p>
2020
*/
21-
@SpringBootTest
21+
@SpringBootTest(classes = {Auth0AutoConfiguration.class, Auth0SecurityAutoConfiguration.class})
2222
@TestPropertySource(
2323
properties = {"auth0.domain=test-domain.auth0.com", "auth0.audience=https://api.example.com"})
2424
class Auth0AutoConfigurationTest {
@@ -52,7 +52,7 @@ void shouldRegisterAllBeansInContext() {
5252
}
5353

5454
@Nested
55-
@SpringBootTest
55+
@SpringBootTest(classes = {Auth0AutoConfiguration.class, Auth0SecurityAutoConfiguration.class})
5656
@TestPropertySource(
5757
properties = {
5858
"auth0.domain=dpop-test.auth0.com",
@@ -88,7 +88,7 @@ void shouldConfigureDPoPIatOffsetSeconds() {
8888
}
8989

9090
@Nested
91-
@SpringBootTest
91+
@SpringBootTest(classes = {Auth0AutoConfiguration.class, Auth0SecurityAutoConfiguration.class})
9292
@TestPropertySource(
9393
properties = {
9494
"auth0.domain=minimal-test.auth0.com",
@@ -110,7 +110,7 @@ void shouldUseDefaultDPoPSettings() {
110110
}
111111

112112
@Nested
113-
@SpringBootTest
113+
@SpringBootTest(classes = {Auth0AutoConfiguration.class, Auth0SecurityAutoConfiguration.class})
114114
@TestPropertySource(
115115
properties = {
116116
"auth0.domain=partial-dpop.auth0.com",

0 commit comments

Comments
 (0)