MCPcopy Create free account
hub / github.com/OreosLab/bili / testTelegramPush

Method testTelegramPush

src/test/java/top/misec/task/PushTest.java:91–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90
91 @Test
92 public void testTelegramPush() {
93
94 PushMetaInfo pushMetaInfo = PushMetaInfo.builder()
95 .chatId("")
96 .token("")
97 .secret("")
98 .build();
99 PushResult pushResult = new TelegramPush().doPush(pushMetaInfo, "testTelegramPush");
100 assertTrue(pushResult.isSuccess());
101 }
102
103 @Test
104 public void testWeComPush() {

Callers

nothing calls this directly

Calls 1

doPushMethod · 0.65

Tested by

no test coverage detected