added tests for "type" parameter of search endpoints

This commit is contained in:
pushrbx 2023-03-30 00:17:21 +01:00
parent d432db77a9
commit 91c0421ee2
2 changed files with 7 additions and 1 deletions

View File

@ -135,6 +135,9 @@ class AnimeSearchEndpointTest extends TestCase
[["rating" => "pg13"]],
[["rating" => "g"]],
[["rating" => "r17"]],
[["type" => "movie"]],
[["type" => "ova"]],
[["type" => "special"]],
];
}

View File

@ -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"]],
];
}