mirror of https://github.com/bvn13/imdb-spider.git
implemented test for converting imdb data to json
parent
d519856dfd
commit
9898b9113d
|
@ -40,7 +40,7 @@ public class MovieSearchTest
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testSearchTerminatorReturnsJson() throws ImdbSpiderException, JsonProcessingException {
|
||||
public void testSearchTerminatorReturningJson() throws ImdbSpiderException, JsonProcessingException {
|
||||
MovieList result = spider.searchMovieByTitle("Терминатор", 5, EnumSet.of(MovieDataType.ID, MovieDataType.TITLE, MovieDataType.ORIGINAL_TITLE, MovieDataType.YEAR));
|
||||
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
|
|
Loading…
Reference in New Issue