ZF-10984: Broken tests of Zend\Application
Description
Tests have critical errors. In most tests cases used initialization of old Autoloader.
// Store original autoloaders
$this->loaders = spl_autoload_functions();
if (!is_array($this->loaders)) {
// spl_autoload_functions does not return empty array when no
// autoloaders registered...
$this->loaders = array();
}
Autoloader::resetInstance();
$this->autoloader = Autoloader::getInstance();
Comments
Posted by BenoƮt Durand (intiilapa) on 2011-01-22T23:58:34.000+0000
Specifies that you speak of Zend\Application (ZF2) and not Zend_Application
Posted by Guy Halford-Thompson (guyht) on 2011-01-24T05:02:52.000+0000
A lot of the tests are broken in ZF2 at the moment due to the migration to namespaces. Marking this as not an issue.
Posted by Matthew Weier O'Phinney (matthew) on 2011-01-24T05:06:52.000+0000
@Benoit Durand: the component names stay the same, if nothing else for documentation purposes.
@Guy Halfort-Thompson: the issue is raised against "Next Major Release". While we know a number of tests are broken, it's also useful to be able to track which components folks are trying to use and/or test. Filing reports in these situations is fine.
I've re-opened the issue; Andrey has emailed me separately indicating he's interested in doing the work on them.
Posted by Guy Halford-Thompson (guyht) on 2011-01-24T05:40:51.000+0000
Ah, apologies, thanks for putting it right. G
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-29T12:57:28.000+0000
{{Zend_Application}} has been removed from ZF2, so this issue is no longer relevant.