Skip to content

Commit

Permalink
Fix parsing of newznab results with empty attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Jan 30, 2025
1 parent bc0d4dd commit 33b1f33
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ void shouldParseResponseFromNzbFinder() throws Exception {
assertThat(rssRoot.getRssChannel().getItems().get(0).getPubDate()).isNotNull();
}

@Test
void shouldParseResponseUnnamed() throws Exception {
NewznabXmlRoot rssRoot = getRssRootFromXml("unnamedv2.xml");

assertThat(rssRoot.getRssChannel().getNewznabResponse().getTotal()).isEqualTo(Integer.valueOf(2000));
assertThat(rssRoot.getRssChannel().getItems().get(0).getPubDate()).isNotNull();
}

@Test
void shouldParseResponseFromNewztown() throws Exception {
NewznabXmlRoot rssRoot = getRssRootFromXml("newztownResponse.xml");
Expand Down

0 comments on commit 33b1f33

Please sign in to comment.