소스 검색

tests fix

Zolotov Alexander 6 년 전
부모
커밋
4d4044d1ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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']);