mirror of https://github.com/bvn13/imdb-spider.git
trying to build using travis
parent
4e97bdaf9e
commit
22b05febc0
|
@ -29,12 +29,12 @@ public class MovieSearchTest {
|
|||
@BeforeClass
|
||||
public static void initClass() {
|
||||
spider = ImdbSpider.withApi_1_0()
|
||||
.addHttpRequestHeader("Content-Language", "ru-RU");
|
||||
.addHttpRequestHeader("Content-Language", "en-EN");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSearchTerminator() throws ImdbSpiderException {
|
||||
MovieList result = spider.searchMovieByTitle("Терминатор", 5,
|
||||
MovieList result = spider.searchMovieByTitle("Terminator", 5,
|
||||
MovieDataType.ID,
|
||||
MovieDataType.TITLE,
|
||||
MovieDataType.ORIGINAL_TITLE,
|
||||
|
|
Loading…
Reference in New Issue