summaryrefslogtreecommitdiffstats
path: root/tests/mocks/core
diff options
context:
space:
mode:
authorAlex Bilbie <alex@alexbilbie.com>2012-08-30 00:23:22 +0200
committerAlex Bilbie <alex@alexbilbie.com>2012-08-30 00:23:22 +0200
commit0c886901bc013e477b8c5eb9bc5e60c91d1fac56 (patch)
tree86499b6f40daae10bb127572a1b2dd4111e92b75 /tests/mocks/core
parent1e40c213610a4bb643e51c2b298629471664163b (diff)
Added lang mock and upload mock
Diffstat (limited to 'tests/mocks/core')
-rw-r--r--tests/mocks/core/lang.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/mocks/core/lang.php b/tests/mocks/core/lang.php
new file mode 100644
index 000000000..1b99aedb3
--- /dev/null
+++ b/tests/mocks/core/lang.php
@@ -0,0 +1,15 @@
+<?php
+
+class Mock_Core_Lang extends CI_Lang {
+
+ function line($line = '')
+ {
+ return FALSE;
+ }
+
+ function load($langfile, $idiom = '', $return = false, $add_suffix = true, $alt_path = '')
+ {
+ return;
+ }
+
+} \ No newline at end of file