File tree Expand file tree Collapse file tree
src/test/java/com/auth0/spring/boot Expand file tree Collapse file tree Original file line number Diff line number Diff 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+
5558jar {
5659 enabled = true
5760 archiveClassifier = ' '
Original file line number Diff line number Diff line change 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" })
2424class 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" ,
You can’t perform that action at this time.
0 commit comments