Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Wrap long lines.
  • Loading branch information
markstory committed Jan 8, 2017
1 parent 91b787e commit ad3dc5a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/TestCase/Routing/RouteCollectionTest.php
Expand Up @@ -185,7 +185,11 @@ public function testParseRequestMissingRoute()
public function testParseRequestCheckHostCondition()
{
$routes = new RouteBuilder($this->collection, '/');
$routes->connect('/fallback', ['controller' => 'Articles', 'action' => 'index'], ['_host' => '*.example.com']);
$routes->connect(
'/fallback',
['controller' => 'Articles', 'action' => 'index'],
['_host' => '*.example.com']
);

$request = new ServerRequest([
'environment' => [
Expand Down Expand Up @@ -250,7 +254,11 @@ public static function hostProvider()
public function testParseRequestCheckHostConditionFail($host)
{
$routes = new RouteBuilder($this->collection, '/');
$routes->connect('/fallback', ['controller' => 'Articles', 'action' => 'index'], ['_host' => '*.example.com']);
$routes->connect(
'/fallback',
['controller' => 'Articles', 'action' => 'index'],
['_host' => '*.example.com']
);

$request = new ServerRequest([
'environment' => [
Expand Down

0 comments on commit ad3dc5a

Please sign in to comment.