Adapted DB for VFS changes and fixed Common case in Bootstrap.php
Signed-off-by: dchill42 <dchill42@gmail.com>
diff --git a/tests/mocks/ci_testcase.php b/tests/mocks/ci_testcase.php
index 980e912..e581d4b 100644
--- a/tests/mocks/ci_testcase.php
+++ b/tests/mocks/ci_testcase.php
@@ -275,6 +275,16 @@
*/
public function ci_vfs_clone($path)
{
+ // Check for array
+ if (is_array($path))
+ {
+ foreach ($path as $file)
+ {
+ $this->ci_vfs_clone($file);
+ }
+ return;
+ }
+
// Get real file contents
$content = file_get_contents(PROJECT_BASE.$path);
if ($content === FALSE)