From efaf3e20066879bdb8a6224ad407b11901ecea18 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 29 Nov 2015 20:07:42 +0530 Subject: [PATCH] fix CS errors --- tests/TestCase/Database/Driver/MysqlTest.php | 3 ++- tests/TestCase/Routing/RouteBuilderTest.php | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) 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);