use non-existing urls

This commit is contained in:
Athou
2023-12-15 18:05:48 +01:00
parent e4863e8881
commit 7ef865506f
7 changed files with 13 additions and 9 deletions

View File

@@ -209,7 +209,7 @@ class FeedIT extends BaseIT {
String expextedOpml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<opml version=\"1.0\">\n" + " <head>\n"
+ " <title>admin subscriptions in CommaFeed</title>\n" + " </head>\n" + " <body>\n"
+ " <outline text=\"out1\" title=\"out1\">\n"
+ " <outline text=\"feed1\" type=\"rss\" title=\"feed1\" xmlUrl=\"http://www.feed.com/feed1.xml\" />\n"
+ " <outline text=\"feed1\" type=\"rss\" title=\"feed1\" xmlUrl=\"https://hostname.local/commafeed/feed1.xml\" />\n"
+ " </outline>\n" + " </body>\n" + "</opml>\n";
Assertions.assertEquals(StringUtils.normalizeSpace(expextedOpml), StringUtils.normalizeSpace(opml));
}

View File

@@ -25,7 +25,7 @@ class NextUnreadIT extends BaseIT {
.header(HttpHeaders.COOKIE, "JSESSIONID=" + cookie)
.get();
Assertions.assertEquals(HttpStatus.FOUND_302, response.getStatus());
Assertions.assertEquals("https://www.commafeed.com/2", response.getHeaderString(HttpHeaders.LOCATION));
Assertions.assertEquals("https://hostname.local/commafeed/2", response.getHeaderString(HttpHeaders.LOCATION));
}
}