summaryrefslogtreecommitdiffstats
path: root/tests/mocks/libraries/encryption.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2018-03-22 15:48:55 +0100
committerAndrey Andreev <narf@devilix.net>2018-03-22 15:48:55 +0100
commit71e647782764184e3aab4faffe6d99176758979f (patch)
tree74dbdd50a61cd5674915c144aca9ebbc00b235b8 /tests/mocks/libraries/encryption.php
parentb12fbad77bd69ca0c7624a9094c29b7691ea6107 (diff)
[ci skip] 3.1.8 release
Diffstat (limited to 'tests/mocks/libraries/encryption.php')
-rw-r--r--tests/mocks/libraries/encryption.php39
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/mocks/libraries/encryption.php b/tests/mocks/libraries/encryption.php
deleted file mode 100644
index 028eecc72..000000000
--- a/tests/mocks/libraries/encryption.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-class Mock_Libraries_Encryption extends CI_Encryption {
-
- /**
- * __get_params()
- *
- * Allows public calls to the otherwise protected _get_params().
- */
- public function __get_params($params)
- {
- return $this->_get_params($params);
- }
-
- // --------------------------------------------------------------------
-
- /**
- * get_key()
- *
- * Allows checking for key changes.
- */
- public function get_key()
- {
- return $this->_key;
- }
-
- // --------------------------------------------------------------------
-
- /**
- * __driver_get_handle()
- *
- * Allows checking for _mcrypt_get_handle(), _openssl_get_handle()
- */
- public function __driver_get_handle($driver, $cipher, $mode)
- {
- return $this->{'_'.$driver.'_get_handle'}($cipher, $mode);
- }
-
-} \ No newline at end of file