Skip to content

Commit 9fc90a8

Browse files
committed
Add missing @test annotations
1 parent 5c708ae commit 9fc90a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/LoggersEndpointTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public void invokeShouldReturnConfigurations() throws Exception {
6565
LogLevel.WARN, LogLevel.INFO, LogLevel.DEBUG, LogLevel.TRACE);
6666
}
6767

68+
@Test
6869
public void invokeWhenNameSpecifiedShouldReturnLevels() throws Exception {
6970
given(getLoggingSystem().getLoggerConfiguration("ROOT"))
7071
.willReturn(new LoggerConfiguration("ROOT", null, LogLevel.DEBUG));
@@ -73,6 +74,7 @@ public void invokeWhenNameSpecifiedShouldReturnLevels() throws Exception {
7374
assertThat(levels.getEffectiveLevel()).isEqualTo("DEBUG");
7475
}
7576

77+
@Test
7678
public void setLogLevelShouldSetLevelOnLoggingSystem() throws Exception {
7779
getEndpointBean().setLogLevel("ROOT", LogLevel.DEBUG);
7880
verify(getLoggingSystem()).setLogLevel("ROOT", LogLevel.DEBUG);

0 commit comments

Comments
 (0)