소스 검색

tests fix

Zolotov Alexander 6 년 전
부모
커밋
10e5f45829
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Unit/GeneratorTestCase.php

+ 1 - 1
tests/Unit/GeneratorTestCase.php

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