Skip to content

Commit

Permalink
fix CS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 29, 2015
1 parent 5af4af7 commit efaf3e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/TestCase/Database/Driver/MysqlTest.php
Expand Up @@ -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.');
Expand Down
10 changes: 7 additions & 3 deletions tests/TestCase/Routing/RouteBuilderTest.php
Expand Up @@ -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);
Expand Down

0 comments on commit efaf3e2

Please sign in to comment.