Oops, injecting the function name caused an extra call in the call

stack.  The test passed, but the actual code failed.  Fixed now.
This commit is contained in:
Bharat Mediratta
2008-11-03 06:02:40 +00:00
parent fa9dda4c01
commit 8a4ab78bfb
2 changed files with 7 additions and 4 deletions

View File

@@ -29,6 +29,6 @@ class Theme_Test extends Unit_Test_Case {
}
public function _fake_debug_backtrace() {
return array(array('file' => THEMEPATH . "fake_theme/views/some_file.html.php"));
return array(array(), array('file' => THEMEPATH . "fake_theme/views/some_file.html.php"));
}
}