diff --git a/tests/TestCase/Database/Driver/MysqlTest.php b/tests/TestCase/Database/Driver/MysqlTest.php index ddf8d6187cd..4db89d73e43 100644 --- a/tests/TestCase/Database/Driver/MysqlTest.php +++ b/tests/TestCase/Database/Driver/MysqlTest.php @@ -134,7 +134,8 @@ public function testConnectionConfigCustom() * * @return void */ - public function testIsConnected() { + public function testIsConnected() + { $connection = ConnectionManager::get('test'); $connection->disconnect(); $this->assertFalse($connection->isConnected(), 'Not connected now.'); diff --git a/tests/TestCase/Routing/RouteBuilderTest.php b/tests/TestCase/Routing/RouteBuilderTest.php index 492ab9f2b19..da714cd21d4 100644 --- a/tests/TestCase/Routing/RouteBuilderTest.php +++ b/tests/TestCase/Routing/RouteBuilderTest.php @@ -395,9 +395,13 @@ public function testResourcesInflection() public function testResourcesNestedInflection() { $routes = new RouteBuilder($this->collection, '/api'); - $routes->resources('NetworkObjects', ['inflect' => 'dasherize'], function($routes) { - $routes->resources('Attributes'); - }); + $routes->resources( + 'NetworkObjects', + ['inflect' => 'dasherize'], + function ($routes) { + $routes->resources('Attributes'); + } + ); $all = $this->collection->routes(); $this->assertCount(10, $all);