Skip to content

Commit

Permalink
Revert "Update expected exception messages."
Browse files Browse the repository at this point in the history
This reverts commit 0cbe0b0.
  • Loading branch information
ADmad committed Apr 26, 2018
1 parent 0cbe0b0 commit 3849cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Controller/Component/CookieComponentTest.php
Expand Up @@ -166,7 +166,7 @@ public function testSettings()
public function testReadInvalidCipher()
{
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('Invalid encryption cipher. Must be one of aes.');
$this->expectExceptionMessage('Invalid encryption cipher. Must be one of aes, rijndael.');
$this->Controller->request = $this->request->withCookieParams([
'Test' => $this->_encrypt('value'),
]);
Expand Down Expand Up @@ -249,7 +249,7 @@ public function testWriteSimple()
public function testWriteInvalidCipher()
{
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('Invalid encryption cipher. Must be one of aes.');
$this->expectExceptionMessage('Invalid encryption cipher. Must be one of aes, rijndael.');
$this->Cookie->setConfig('encryption', 'derp');
$this->Cookie->write('Test', 'nope');
}
Expand Down

0 comments on commit 3849cff

Please sign in to comment.