From 0996253ef324eaa4ba101bb9c051a5d4af2d898e Mon Sep 17 00:00:00 2001 From: Ratan Sunder Parai Date: Mon, 29 Apr 2019 23:17:07 +0600 Subject: [PATCH] remove failing test because it shouldn't pass anyway --- .../moviedog/scrapper/WowMovieZoneScrapperTest.kt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/src/test/java/com/ratanparai/moviedog/scrapper/WowMovieZoneScrapperTest.kt b/app/src/test/java/com/ratanparai/moviedog/scrapper/WowMovieZoneScrapperTest.kt index c910e76..091ee62 100644 --- a/app/src/test/java/com/ratanparai/moviedog/scrapper/WowMovieZoneScrapperTest.kt +++ b/app/src/test/java/com/ratanparai/moviedog/scrapper/WowMovieZoneScrapperTest.kt @@ -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) - } } \ No newline at end of file