membrane-php / membrane-laravel

Laravel integration for Membrane validation library.
Other
3 stars 2 forks source link

Update tests once OpenAPI Reader can handle exploding styles #24

Open charjr opened 5 months ago

charjr commented 5 months ago

This test is currently improperly specifying the url.

class RequestValidationTest extends TestCase
{
    #[Test]
    public function registersResultInstanceInContainer(): void
    {
        $url = '/pets?limit=5&tags[]=cat&tags[]=tabby';

The url should be: $url = '/pets?limit=5&tags=cat&tags=tabby'

But this will only pass once the reader has been updated to handle it.