mirror of
https://github.com/readrops/Readrops.git
synced 2025-01-23 23:32:36 +01:00
Fix opml parser tests
This commit is contained in:
parent
f1bf65d629
commit
8b4b7b0f1c
@ -29,7 +29,7 @@ class OPMLParserTest {
|
||||
|
||||
@Test
|
||||
fun readOpmlTest() {
|
||||
val stream = context.resources.assets.open("subscriptions.opml")
|
||||
val stream = context.resources.assets.open("opml/subscriptions.opml")
|
||||
|
||||
var foldersAndFeeds: Map<Folder?, List<Feed>>? = null
|
||||
|
||||
@ -52,7 +52,7 @@ class OPMLParserTest {
|
||||
|
||||
@Test
|
||||
fun readLiteSubscriptionsTest() {
|
||||
val stream = context.resources.assets.open("lite_subscriptions.opml")
|
||||
val stream = context.resources.assets.open("opml/lite_subscriptions.opml")
|
||||
|
||||
var foldersAndFeeds: Map<Folder?, List<Feed>>? = null
|
||||
|
||||
@ -68,7 +68,7 @@ class OPMLParserTest {
|
||||
|
||||
@Test
|
||||
fun opmlVersionTest() {
|
||||
val stream = context.resources.assets.open("wrong_version.opml")
|
||||
val stream = context.resources.assets.open("opml/wrong_version.opml")
|
||||
|
||||
OPMLParser.read(stream)
|
||||
.test()
|
||||
|
Loading…
Reference in New Issue
Block a user