Default Seerr login to Jellyfin and prefill Wolfskin Seerr URL
All checks were successful
review/firstmate Exact-diff check: JELLYFIN first, API key last; URL prefill from one constant; unit test; apk-debug+test green

This commit is contained in:
justinzeus 2026-10-22 14:46:41 +02:00
parent 7d6f041b55
commit af885eae58
4 changed files with 33 additions and 6 deletions

View file

@ -0,0 +1,17 @@
package com.github.damontecres.wholphin
import org.junit.Assert.assertEquals
import org.junit.Test
class WolfskinDefaultsTest {
@Test
fun emptyUrlIsPrefilledWithWolfskinSeerrUrl() {
assertEquals(WolfskinDefaults.SEERR_URL, seerrUrlPrefill())
assertEquals(WolfskinDefaults.SEERR_URL, seerrUrlPrefill(" "))
}
@Test
fun enteredUrlIsKept() {
assertEquals("https://seerr.example.org", seerrUrlPrefill("https://seerr.example.org"))
}
}