Skip to content

Commit d6c6a50

Browse files
committed
Fix test names WebhookControllerWithInterceptorTest
1 parent 4fc0eb9 commit d6c6a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/dev/vality/alerting/tg/bot/WebhookControllerWithInterceptorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class WebhookControllerWithInterceptorTest {
5757
RequestMappingHandlerMapping mappings;
5858

5959
@Test
60-
void mappingExists_sanityCheck() {
60+
void mappingExistSanityCheck() {
6161
var exists = mappings.getHandlerMethods().keySet().stream()
6262
.anyMatch(i -> i.getPatternsCondition().getPatterns().stream()
6363
.anyMatch(p -> p.equals("/alertmanager/webhook")));
@@ -67,7 +67,7 @@ void mappingExists_sanityCheck() {
6767
}
6868

6969
@Test
70-
void whenWebhookPosted_thenTestInterceptorInvokesTelegramSender() throws Exception {
70+
void whenWebhookPostedThenTestInterceptorInvokesTelegramSender() throws Exception {
7171
String json = """
7272
{ "status":"firing", "alerts":[ { "status":"firing" } ] }
7373
""";

0 commit comments

Comments
 (0)