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:
commit
be7268cc96
4 changed files with 33 additions and 6 deletions
|
|
@ -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"))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue