Skip to content
Permalink
Browse files

Fix PHPCS errors.

  • Loading branch information...
markstory committed Jan 8, 2016
1 parent a2e976d commit c0a028ed403e0b1fd5b188e8ef92409d8c689d6c
Showing with 6 additions and 3 deletions.
  1. +6 −3 tests/TestCase/TestSuite/CookieEncryptedUsingControllerTest.php
@@ -114,15 +114,17 @@ public function testCanBeUsedSecuritySaltAsEncryptionKey()
* Can AssertCookie even if the value is encrypted by
* the CookieComponent.
*/
public function testCanAssertCookieEncrypted() {
public function testCanAssertCookieEncrypted()
{
$this->get('/cookie_component_test/set_cookie');
$this->assertCookieEncrypted('abc', 'NameOfCookie');
}
/**
* Can AssertCookie even if encrypted with the aes.
*/
public function testCanAssertCookieEncryptedWithAes() {
public function testCanAssertCookieEncryptedWithAes()
{
$this->get('/cookie_component_test/set_cookie');
$this->assertCookieEncrypted('abc', 'NameOfCookie', 'aes');
}
@@ -131,7 +133,8 @@ public function testCanAssertCookieEncryptedWithAes() {
* Can AssertCookie even if encrypted with the another
* encrypted key.
*/
public function testCanAssertCookieEncryptedWithAnotherEncryptionKey() {
public function testCanAssertCookieEncryptedWithAnotherEncryptionKey()
{
$key = 'another salt xxxxxxxxxxxxxxxxxxx';
Security::salt($key);
$this->get('/cookie_component_test/set_cookie');

0 comments on commit c0a028e

Please sign in to comment.
You can’t perform that action at this time.