Skip to content

Commit

Permalink
test: composer cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Dec 29, 2023
1 parent a12d8d8 commit f514d3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/system/Router/AutoRouterImprovedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function testAutoRouteFindsControllerWithSubfolder(): void
= $router->getRoute('subfolder/mycontroller/somemethod', 'get');

$this->assertSame('Subfolder/', $directory);
$this->assertSame('\\' . \CodeIgniter\Router\Controllers\Subfolder\Mycontroller::class, $controller);
$this->assertSame('\\' . Controllers\Subfolder\Mycontroller::class, $controller);
$this->assertSame('getSomemethod', $method);
$this->assertSame([], $params);
$this->assertSame([
Expand All @@ -195,7 +195,7 @@ public function testAutoRouteFindsControllerWithSubSubfolder()
= $router->getRoute('subfolder/sub/mycontroller/somemethod', 'get');

$this->assertSame('Subfolder/Sub/', $directory);
$this->assertSame('\\' . \CodeIgniter\Router\Controllers\Subfolder\Sub\Mycontroller::class, $controller);
$this->assertSame('\\' . Controllers\Subfolder\Sub\Mycontroller::class, $controller);
$this->assertSame('getSomemethod', $method);
$this->assertSame([], $params);
}
Expand All @@ -209,7 +209,7 @@ public function testAutoRouteFindsDashedSubfolder(): void

$this->assertSame('Dash_folder/', $directory);
$this->assertSame(
'\\' . \CodeIgniter\Router\Controllers\Dash_folder\Mycontroller::class,
'\\' . Controllers\Dash_folder\Mycontroller::class,
$controller
);
$this->assertSame('getSomemethod', $method);
Expand Down Expand Up @@ -281,7 +281,7 @@ public function testAutoRouteFallbackToDefaultControllerOneParam()
= $router->getRoute('subfolder/15', 'get');

$this->assertSame('Subfolder/', $directory);
$this->assertSame('\\' . \CodeIgniter\Router\Controllers\Subfolder\Home::class, $controller);
$this->assertSame('\\' . Controllers\Subfolder\Home::class, $controller);
$this->assertSame('getIndex', $method);
$this->assertSame(['15'], $params);
$this->assertSame([
Expand All @@ -299,7 +299,7 @@ public function testAutoRouteFallbackToDefaultControllerTwoParams()
= $router->getRoute('subfolder/15/20', 'get');

$this->assertSame('Subfolder/', $directory);
$this->assertSame('\\' . \CodeIgniter\Router\Controllers\Subfolder\Home::class, $controller);
$this->assertSame('\\' . Controllers\Subfolder\Home::class, $controller);
$this->assertSame('getIndex', $method);
$this->assertSame(['15', '20'], $params);
$this->assertSame([
Expand All @@ -317,7 +317,7 @@ public function testAutoRouteFallbackToDefaultControllerNoParams()
= $router->getRoute('subfolder', 'get');

$this->assertSame('Subfolder/', $directory);
$this->assertSame('\\' . \CodeIgniter\Router\Controllers\Subfolder\Home::class, $controller);
$this->assertSame('\\' . Controllers\Subfolder\Home::class, $controller);
$this->assertSame('getIndex', $method);
$this->assertSame([], $params);
$this->assertSame([
Expand Down

0 comments on commit f514d3b

Please sign in to comment.