From 7173d5a86542426162e4a54c19b07e4507cd637e Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Tue, 19 Nov 2024 14:03:18 +0100 Subject: [PATCH] Fix tests --- .../java/com/readrops/api/localfeed/LocalRSSHelperTest.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/api/src/test/java/com/readrops/api/localfeed/LocalRSSHelperTest.kt b/api/src/test/java/com/readrops/api/localfeed/LocalRSSHelperTest.kt index 5ec458e4..ea9c98c1 100644 --- a/api/src/test/java/com/readrops/api/localfeed/LocalRSSHelperTest.kt +++ b/api/src/test/java/com/readrops/api/localfeed/LocalRSSHelperTest.kt @@ -2,9 +2,10 @@ package com.readrops.api.localfeed import com.gitlab.mvysny.konsumexml.Names import com.gitlab.mvysny.konsumexml.konsumeXml -import junit.framework.TestCase.* +import junit.framework.TestCase.assertEquals +import junit.framework.TestCase.assertFalse +import junit.framework.TestCase.assertTrue import org.junit.Test -import java.io.ByteArrayInputStream class LocalRSSHelperTest { @@ -16,8 +17,6 @@ class LocalRSSHelperTest { LocalRSSHelper.RSSType.RSS_2) assertEquals(LocalRSSHelper.getRSSType("application/atom+xml"), LocalRSSHelper.RSSType.ATOM) - assertEquals(LocalRSSHelper.getRSSType("application/json"), - LocalRSSHelper.RSSType.JSONFEED) assertEquals(LocalRSSHelper.getRSSType("application/feed+json"), LocalRSSHelper.RSSType.JSONFEED) }