Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-09-05 06:40:18 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-09-05 06:40:18 +0300
commit9adce4003440768ff8cb73096bb483af4166f6de (patch)
treed41f361f1906e6f8ea0885907d155d32733a5b54 /test
parent776c6ad41f78c961109f1db59f8cdd9baa8f9a06 (diff)
Extract controllers from HomeController
Extracts CollationConnectionController, GitInfoController and RecentTablesListController controllers from HomeController. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r--test/classes/RoutingTest.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/classes/RoutingTest.php b/test/classes/RoutingTest.php
index 13527e60be..3408311bea 100644
--- a/test/classes/RoutingTest.php
+++ b/test/classes/RoutingTest.php
@@ -20,14 +20,10 @@ class RoutingTest extends AbstractTestCase
{
$dispatcher = Routing::getDispatcher();
$this->assertInstanceOf(Dispatcher::class, $dispatcher);
- $this->assertSame([
- Dispatcher::FOUND,
- [
- HomeController::class,
- 'index',
- ],
- [],
- ], $dispatcher->dispatch('GET', '/'));
+ $this->assertSame(
+ [Dispatcher::FOUND, HomeController::class, []],
+ $dispatcher->dispatch('GET', '/')
+ );
}
/**