Zolotov Alexander %!s(int64=6) %!d(string=hai) anos
pai
achega
4d4044d1ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Unit/GeneratorTestCase.php

+ 1 - 1
tests/Unit/GeneratorTestCase.php

@@ -603,7 +603,7 @@ abstract class GeneratorTestCase extends TestCase
     /** @test */
     public function can_use_arrays_in_routes_uses()
     {
-        $route = $this->createRoute('GET', '/api/test', 'withEndpointDescription');
+        $route = $this->createRouteUsesArray('GET', '/api/test', 'withEndpointDescription');
         $parsed = $this->generator->processRoute($route)['group'];
 
         $this->assertSame('Group A', $parsed['group']);