From 40e3116f19f8c16762e4b3f06352ca6cb130ed10 Mon Sep 17 00:00:00 2001 From: cssxsh Date: Sat, 20 Jul 2024 04:18:06 +0800 Subject: [PATCH] fix: SearchTest --- src/test/kotlin/xyz/cssxsh/bilibili/SearchTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/kotlin/xyz/cssxsh/bilibili/SearchTest.kt b/src/test/kotlin/xyz/cssxsh/bilibili/SearchTest.kt index 8a69579..f321ce8 100644 --- a/src/test/kotlin/xyz/cssxsh/bilibili/SearchTest.kt +++ b/src/test/kotlin/xyz/cssxsh/bilibili/SearchTest.kt @@ -42,6 +42,7 @@ internal class SearchTest : ApiTest() { } @Test + @org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable(named = "CI", matches = "true") fun `search live room`(): Unit = runBlocking { val search = client.searchLiveRoom(keyword = "音悦台") assertFalse(search.result.isEmpty())