Convert all sample tests to @IntegrationTest where appropriate
Makes them a lot more readable IMO, and also enables @Autowiring from the context into the test case (sweeet). I added @DirtiesContext to all of them as well to be on the safe side, but possbly that can be optimized in some way as well.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
error.path: /oops
|
||||
management.contextPath: /admin
|
||||
@@ -0,0 +1,4 @@
|
||||
server.port: 9010
|
||||
management.port: 9011
|
||||
management.address: 127.0.0.1
|
||||
management.contextPath: /admin
|
||||
@@ -0,0 +1,2 @@
|
||||
server.port: 9010
|
||||
management.port: 9011
|
||||
@@ -0,0 +1 @@
|
||||
management.port: -1
|
||||
@@ -0,0 +1 @@
|
||||
management.security.enabled: false
|
||||
@@ -0,0 +1 @@
|
||||
security.basic.enabled: false
|
||||
Reference in New Issue
Block a user