Skip to content

Commit c6d55d6

Browse files
committed
Remove redundant tests in PowertoolsLoggingTest.
1 parent 61231f4 commit c6d55d6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

powertools-logging/src/test/java/software/amazon/lambda/powertools/logging/PowertoolsLoggingTest.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
package software.amazon.lambda.powertools.logging;
1616

1717
import static org.assertj.core.api.Assertions.assertThat;
18-
import static org.assertj.core.api.Assertions.assertThatCode;
1918

2019
import org.junit.jupiter.api.BeforeEach;
2120
import org.junit.jupiter.api.Test;
@@ -34,18 +33,6 @@ void setUp() {
3433
testManager.resetBufferState();
3534
}
3635

37-
@Test
38-
void testFlushBuffer_shouldNotThrowException() {
39-
// WHEN/THEN
40-
assertThatCode(PowertoolsLogging::flushBuffer).doesNotThrowAnyException();
41-
}
42-
43-
@Test
44-
void testClearBuffer_shouldNotThrowException() {
45-
// WHEN/THEN
46-
assertThatCode(PowertoolsLogging::clearBuffer).doesNotThrowAnyException();
47-
}
48-
4936
@Test
5037
void testFlushBuffer_shouldCallBufferManager() {
5138
// WHEN

0 commit comments

Comments
 (0)