commit
dc25478000
|
|
@ -110,7 +110,7 @@ public class LoggersMvcEndpointTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void getLoggesWhenDisabledShouldReturnNotFound() throws Exception {
|
||||
public void getLoggersRootWhenDisabledShouldReturnNotFound() throws Exception {
|
||||
this.context.getBean(LoggersEndpoint.class).setEnabled(false);
|
||||
this.mvc.perform(get("/loggers/ROOT")).andExpect(status().isNotFound());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.example</groupid>
|
||||
<groupId>com.example</groupId>
|
||||
<artifactId>custom-layout</artifactId>
|
||||
<version>0.0.1.BUILD-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ public enum DatabaseDriver {
|
|||
/**
|
||||
* Maria DB.
|
||||
*/
|
||||
MARIADB("maridb", "MySQL", "org.mariadb.jdbc.Driver",
|
||||
MARIADB("mariadb", "MySQL", "org.mariadb.jdbc.Driver",
|
||||
"org.mariadb.jdbc.MariaDbDataSource", "SELECT 1"),
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue