Skip to content

Commit

Permalink
Fix PHPCS errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 8, 2016
1 parent a2e976d commit c0a028e
Showing 1 changed file with 6 additions and 3 deletions.
Expand Up @@ -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');
}
Expand All @@ -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');
Expand Down

0 comments on commit c0a028e

Please sign in to comment.