diff --git a/api/src/test/java/com/readrops/api/localfeed/LocalRSSDataSourceTest.kt b/api/src/test/java/com/readrops/api/localfeed/LocalRSSDataSourceTest.kt index 495ba5e3..cd508506 100644 --- a/api/src/test/java/com/readrops/api/localfeed/LocalRSSDataSourceTest.kt +++ b/api/src/test/java/com/readrops/api/localfeed/LocalRSSDataSourceTest.kt @@ -59,7 +59,7 @@ class LocalRSSDataSourceTest : KoinTest { @Test fun successfulQueryTest() { - val stream = TestUtils.loadResource("localfeed/rss_feed.xml") + val stream = TestUtils.loadResource("localfeed/rss2/rss_feed.xml") mockServer.enqueue(MockResponse().setResponseCode(HttpURLConnection.HTTP_OK) .addHeader(ApiUtils.CONTENT_TYPE_HEADER, "application/xml; charset=UTF-8") @@ -83,7 +83,7 @@ class LocalRSSDataSourceTest : KoinTest { @Test fun headersTest() { - val stream = TestUtils.loadResource("localfeed/rss_feed.xml") + val stream = TestUtils.loadResource("localfeed/rss2/rss_feed.xml") mockServer.enqueue(MockResponse().setResponseCode(HttpURLConnection.HTTP_OK) .addHeader("Content-Type", "application/rss+xml; charset=UTF-8") diff --git a/api/src/test/java/com/readrops/api/localfeed/rss2/RSS2AdapterTest.kt b/api/src/test/java/com/readrops/api/localfeed/rss2/RSS2AdapterTest.kt index ee9bf990..5d03a336 100644 --- a/api/src/test/java/com/readrops/api/localfeed/rss2/RSS2AdapterTest.kt +++ b/api/src/test/java/com/readrops/api/localfeed/rss2/RSS2AdapterTest.kt @@ -16,7 +16,7 @@ class RSS2AdapterTest { @Test fun normalCasesTest() { - val stream = TestUtils.loadResource("localfeed/rss_feed.xml") + val stream = TestUtils.loadResource("localfeed/rss2/rss_feed.xml") val pair = adapter.fromXml(stream.konsumeXml()) val feed = pair.first diff --git a/api/src/test/resources/localfeed/rss_feed.xml b/api/src/test/resources/localfeed/rss2/rss_feed.xml similarity index 100% rename from api/src/test/resources/localfeed/rss_feed.xml rename to api/src/test/resources/localfeed/rss2/rss_feed.xml diff --git a/api/src/test/resources/localfeed/rss2/rss_full_feed.xml b/api/src/test/resources/localfeed/rss2/rss_full_feed.xml deleted file mode 100644 index e56ad91b..00000000 --- a/api/src/test/resources/localfeed/rss2/rss_full_feed.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - Hacker News - - - https://news.ycombinator.com/ - Links for the intellectually curious, ranked by readers. - - \ No newline at end of file