Permalink
Browse files

Merge pull request #257 from mariano/i255

Adding missing MockEncrypt class
  • Loading branch information...
gwoo committed Jan 10, 2012
2 parents 8034543 + 57020e9 commit b294bf0c5d7ba33890daf6eb20782491417796cd
Showing with 17 additions and 0 deletions.
  1. +17 −0 tests/mocks/storage/session/strategy/MockEncrypt.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Lithium: the most rad php framework
+ *
+ * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org)
+ * @license http://opensource.org/licenses/bsd-license.php The BSD License
+ */
+
+namespace lithium\tests\mocks\storage\session\strategy;
+
+class MockEncrypt extends \lithium\storage\session\strategy\Encrypt {
+ public function decrypt($encrypted) {
+ return parent::_decrypt($encrypted);
+ }
+}
+
+?>

0 comments on commit b294bf0

Please sign in to comment.