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