mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
added tests for "type" parameter of search endpoints
This commit is contained in:
parent
d432db77a9
commit
91c0421ee2
@ -135,6 +135,9 @@ class AnimeSearchEndpointTest extends TestCase
|
||||
[["rating" => "pg13"]],
|
||||
[["rating" => "g"]],
|
||||
[["rating" => "r17"]],
|
||||
[["type" => "movie"]],
|
||||
[["type" => "ova"]],
|
||||
[["type" => "special"]],
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -124,7 +124,10 @@ class MangaSearchEndpointTest extends TestCase
|
||||
[["status" => "Upcoming"]],
|
||||
[["max_score" => "8"]],
|
||||
[["min_score" => "6"]],
|
||||
[["max_score" => "7", "min_score" => "3"]]
|
||||
[["max_score" => "7", "min_score" => "3"]],
|
||||
[["type" => "novel"]],
|
||||
[["type" => "lightnovel"]],
|
||||
[["type" => "oneshot"]],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user