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

Method testServerChanPush

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

Source from the content-addressed store, hash-verified

65 }
66
67 @Test
68 public void testServerChanPush() {
69
70 PushMetaInfo pushMetaInfo = PushMetaInfo.builder()
71 .chatId("")
72 .token("")
73 .secret("")
74 .build();
75 PushResult pushResult = new ServerChanPush().doPush(pushMetaInfo, "testServerChanPush");
76 assertTrue(pushResult.isSuccess());
77 }
78
79 @Test
80 public void testTelegramCustomUrlPush() {

Callers

nothing calls this directly

Calls 1

doPushMethod · 0.65

Tested by

no test coverage detected