mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
updated test for min max score filters.
This commit is contained in:
parent
a7b4e02f55
commit
30fc65c6c4
@ -368,6 +368,13 @@ class MangaSearchEndpointTest extends TestCase
|
||||
{
|
||||
// test for https://github.com/jikan-me/jikan-rest/issues/309
|
||||
Manga::factory(5)
|
||||
->state(new Sequence(
|
||||
["score" => null],
|
||||
["score" => $this->faker->randomFloat(2, 1.0, 9.99)],
|
||||
["score" => $this->faker->randomFloat(2, 1.0, 9.99)],
|
||||
["score" => $this->faker->randomFloat(2, 1.0, 9.99)],
|
||||
["score" => $this->faker->randomFloat(2, 1.0, 9.99)],
|
||||
))
|
||||
->overrideFromQueryStringParameters([
|
||||
"genres" => "1,2"
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user