Browse Source

phpcs fix

Florian Krämer 8 years ago
parent
commit
2dad201db7
1 changed files with 5 additions and 7 deletions
  1. 5 7
      tests/TestCase/Routing/Route/EntityRouteTest.php

+ 5 - 7
tests/TestCase/Routing/Route/EntityRouteTest.php

@@ -63,16 +63,14 @@ class EntityRouteTest extends TestCase
      */
     public function testInvalidEntityValueException()
     {
-        $route = $route = new EntityRoute('/',
-            [
-                '_name' => 'articlesView',
-                '_entity' => 'Something else',
-            ]
-        );
+        $route = $route = new EntityRoute('/', [
+            '_name' => 'articlesView',
+            '_entity' => 'Something else'
+        ]);
 
         $route->match([
             '_entity' => 'something-else',
-            '_name' => 'articlesView',
+            '_name' => 'articlesView'
         ]);
     }
 }