Skip to content

Commit 6a49c23

Browse files
committed
fix tests
1 parent b0fd94a commit 6a49c23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/GenerateDocumentationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ public function console_command_does_not_work_with_closure_using_dingo()
9696
/** @test */
9797
public function console_command_work_with_rotes_uses_array()
9898
{
99-
RouteFacade::get('/array/laravel/test', [TestController::class, 'withEndpointDescription']);
99+
RouteFacade::get('/api/array/test', [TestController::class, 'withEndpointDescription']);
100100

101101
config(['apidoc.routes.0.match.prefixes' => ['api/*']]);
102102
$output = $this->artisan('apidoc:generate');
103103

104-
$this->assertNotContains('Skipping route: [GET] array/laravel/test', $output);
105-
$this->assertContains('Processed route: [GET] array/laravel/test', $output);
104+
$this->assertNotContains('Skipping route: [GET] api/array/test', $output);
105+
$this->assertContains('Processed route: [GET] api/array/test', $output);
106106
}
107107

108108
/** @test */

0 commit comments

Comments
 (0)