浏览代码

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 */
     /** @test */
     public function can_use_arrays_in_routes_uses()
     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'];
         $parsed = $this->generator->processRoute($route)['group'];
 
 
         $this->assertSame('Group A', $parsed['group']);
         $this->assertSame('Group A', $parsed['group']);