mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-28 09:19:40 -05:00
Changes:
Generated new Gifts Json TikTokLive.isLiveOnline() check if live if online TikTokLive.isLiveOnlineAsync() TikTokLive.isHostNameValid() check if hostName is correct TikTokLive.isHostNameValidAsync()
This commit is contained in:
@@ -3,15 +3,13 @@ package io.github.jwdeveloper.tiktok.http;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
public class TikTokLiveOnlineCheckerTest {
|
||||
|
||||
private final String TARGET_USER = "bangbetmenygy";
|
||||
|
||||
@Test
|
||||
public void shouldTestOnline() {
|
||||
var sut = new TikTokLiveOnlineChecker();
|
||||
var sut = new TikTokDataChecker();
|
||||
var result = sut.isOnline(TARGET_USER);
|
||||
|
||||
Assertions.assertTrue(result);
|
||||
|
||||
Reference in New Issue
Block a user