Issues

ZF-8118: Zend_Application_Bootstrap_BootstrapTest::testRunShouldDispatchFrontController() fails

Issue Type: Unit Tests: Problem Created: 2009-10-22T07:15:09.000+0000 Last Updated: 2009-10-22T07:22:13.000+0000 Status: Resolved Fix version(s): Reporter: julien PAULI (doctorrock83) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application

Related issues: - ZF-8080

Attachments:

Description

testRunShouldDispatchFrontController() fails because the resource is loaded as

<pre class="highlight">
$this->bootstrap->setOptions(array(
            'resources' => array(
                'frontcontroller' => array(......

For the test to pass, you must camelCase the resource name :

<pre class="highlight">
$this->bootstrap->setOptions(array(
            'resources' => array(
                'FrontController' => array(......

The bug might be related with #ZF-7365, there seems to be strtolower() problems somewhere. Zend_Application_Bootstrap_Bootstrap registers the resource as 'FrontController' (camelCase styled)

Comments

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2009-10-22T07:21:05.000+0000

This should be solved in trunk. Marking as duplicate of ZF-8080.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts