summaryrefslogtreecommitdiffstats
path: root/tests/mocks
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-01-05 23:23:13 +0100
committerAndrey Andreev <narf@devilix.net>2022-01-05 23:23:13 +0100
commita4ad60e91d8da62a04c7f2bfc9c50c611f858352 (patch)
treec51e3a6c3c7920b3bc5be295e067b986e063c6c8 /tests/mocks
parentaae89a56a3e1b61b6a840dc455657e5e4952cf24 (diff)
Finally drop CI_Encrypt
Diffstat (limited to 'tests/mocks')
-rwxr-xr-xtests/mocks/database/ci_test.sqlitebin19456 -> 19456 bytes
-rw-r--r--tests/mocks/libraries/encrypt.php16
2 files changed, 0 insertions, 16 deletions
diff --git a/tests/mocks/database/ci_test.sqlite b/tests/mocks/database/ci_test.sqlite
index 84f09add2..502913725 100755
--- a/tests/mocks/database/ci_test.sqlite
+++ b/tests/mocks/database/ci_test.sqlite
Binary files differ
diff --git a/tests/mocks/libraries/encrypt.php b/tests/mocks/libraries/encrypt.php
deleted file mode 100644
index c14d1e02f..000000000
--- a/tests/mocks/libraries/encrypt.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-class Mock_Libraries_Encrypt extends CI_Encrypt {
-
- // Override inaccessible protected method
- public function __call($method, $params)
- {
- if (is_callable(array($this, '_'.$method)))
- {
- return call_user_func_array(array($this, '_'.$method), $params);
- }
-
- throw new BadMethodCallException('Method '.$method.' was not found');
- }
-
-}