@@ -148,14 +148,14 @@ void rssPlacera() throws IOException {
148148 assertThat (channel .getTitle (), is ("Placera.se" ));
149149 assertThat (channel .getDescription (), is (not (emptyString ())));
150150 assertThat (channel .getLink (), is ("https://www.placera.se" ));
151- assertThat (channel .getCopyright (), isEmpty ( ));
152- assertThat (channel .getGenerator (), isEmpty ( ));
153- assertThat (channel .getLastBuildDate (), isEmpty ());
151+ assertThat (channel .getCopyright (), isPresentAndIs ( "Placera.se" ));
152+ assertThat (channel .getGenerator (), isPresentAndIs ( "RSS for Node" ));
153+ assertThat (channel .getLastBuildDate (), isPresent ());
154154
155155 // Validate item
156156 assertNotNull (item );
157157 assertThat (item .getGuid (), isPresentAnd (not (emptyString ())));
158- assertThat (item .getIsPermaLink (), isPresentAndIs (true ));
158+ assertThat (item .getIsPermaLink (), isPresentAndIs (false ));
159159 assertThat (item .getTitle (), isPresentAnd (not (emptyString ())));
160160 assertThat (item .getDescription (), isPresentAnd (not (emptyString ())));
161161 assertThat (item .getPubDate (), isPresentAnd (not (emptyString ())));
@@ -181,14 +181,14 @@ void rssPlaceraString() throws IOException, InterruptedException {
181181 assertThat (channel .getTitle (), is ("Placera.se" ));
182182 assertThat (channel .getDescription (), is (not (emptyString ())));
183183 assertThat (channel .getLink (), is ("https://www.placera.se" ));
184- assertThat (channel .getCopyright (), isEmpty ( ));
185- assertThat (channel .getGenerator (), isEmpty ( ));
186- assertThat (channel .getLastBuildDate (), isEmpty ());
184+ assertThat (channel .getCopyright (), isPresentAndIs ( "Placera.se" ));
185+ assertThat (channel .getGenerator (), isPresentAndIs ( "RSS for Node" ));
186+ assertThat (channel .getLastBuildDate (), isPresent ());
187187
188188 // Validate item
189189 assertNotNull (item );
190190 assertThat (item .getGuid (), isPresentAnd (not (emptyString ())));
191- assertThat (item .getIsPermaLink (), isPresentAndIs (true ));
191+ assertThat (item .getIsPermaLink (), isPresentAndIs (false ));
192192 assertThat (item .getTitle (), isPresentAnd (not (emptyString ())));
193193 assertThat (item .getDescription (), isPresentAnd (not (emptyString ())));
194194 assertThat (item .getPubDate (), isPresentAnd (not (emptyString ())));
0 commit comments