Skip to content

Commit

Permalink
remove failing test because it shouldn't pass anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
ratanparai committed Apr 29, 2019
1 parent 02ab7c9 commit 0996253
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,4 @@ class WowMovieZoneScrapperTest {
assertThat(movieLinks.size).isEqualTo(13)

}

@Test
fun shouldWorkWithRealAddress() {
val scrapper = WowMovieZoneScrapper()
val searchUrl = scrapper.getSearchUrl("Harry Potter")
val document = scrapper.getDocument(searchUrl)
val searchResult = scrapper.getListOfMovieLinksFromSearchResult(document)
for (result in searchResult) {
val movieDocument = scrapper.getDocument(result)
val movie = scrapper.getMovie(movieDocument)
}

assertThat(searchResult.size).isEqualTo(-1)
}
}

0 comments on commit 0996253

Please sign in to comment.