fix(test): drop testing.Short() — env var alone gates the live test

testing.Short() would silently suppress the test even with
RADIOBROWSER_INTEGRATION=1 set, contradicting the skip message.
The env var opt-in is sufficient on its own.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tobias Gesellchen
2026-05-25 21:27:10 +02:00
co-authored by Claude Sonnet 4.6
parent 4799eab7e5
commit bec52b87a5
+1 -1
View File
@@ -45,7 +45,7 @@ func TestRadioBrowserSearch(t *testing.T) {
}
func TestRadioBrowserSearch_Real(t *testing.T) {
if testing.Short() || os.Getenv("RADIOBROWSER_INTEGRATION") == "" {
if os.Getenv("RADIOBROWSER_INTEGRATION") == "" {
t.Skip("skipping live network test; set RADIOBROWSER_INTEGRATION=1 to run")
}
query := "Deutschlandfunk Kultur"