Browse Source

Fix: Opening parenthesis of a multi-line function call must be the last content on the line
Fix: Only one argument is allowed per line in a multi-line function call
Fix: Multi-line function call not indented correctly; expected 8 spaces but found 12
Fix: Closing parenthesis of a multi-line function call must be on a line by itself

Wataru Terada 10 years ago
parent
commit
f53f689077
1 changed files with 5 additions and 2 deletions
  1. 5 2
      tests/TestCase/Controller/CookieComponentControllerTest.php

+ 5 - 2
tests/TestCase/Controller/CookieComponentControllerTest.php

@@ -76,8 +76,11 @@ class CookieComponentControllerTest extends IntegrationTestCase
 
         $this->get('/cookie_component_test/view/');
         $this->assertStringStartsWith('Q2FrZQ==.', $this->viewVariable('ValueFromRequest'), 'Encrypted');
-        $this->assertEquals(['Value1 of Cookie', 'Value2 of Cookie'], $this->viewVariable('ValueFromCookieComponent'),
-            'Decrypted');
+        $this->assertEquals(
+            ['Value1 of Cookie', 'Value2 of Cookie'],
+            $this->viewVariable('ValueFromCookieComponent'),
+            'Decrypted'
+        );
     }
 
     /**