A-HA! I've solved this. My Autoloader looked like this:
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->setDefaultAutoloader(create_function('$class',
"include str_replace('_', '/', \$class) . '.php';"
));
$autoloader->setFallbackAutoloader(true);
Changing the include to include_once solved the problem. Is there a better
way that I should be autoloading?
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/PHPUnit-and-using-tearDown-on-Resource-Plugins-tp2173162p2173192.html
Sent from the Zend Framework mailing list archive at Nabble.com.