Merge pull request 'Default Seerr login to Jellyfin and prefill the Wolfskin Seerr URL' (#19) from fm/wolfskin-6-seerr-default into main

This commit is contained in:
justinzeus 2026-10-22 16:00:23 +02:00
commit be7268cc96
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"))
}
}