That's strange, it's working for me (just tested with ZF 1.8).

Is your "testing" environment overriding the include paths? Also, what does
your $config look like once it's in Zend_Application? Can you do a dump of
$this->application->getOptions()?

--
Hector


On Tue, May 11, 2010 at 12:58 PM, afx114 <[email protected]> wrote:

>
>
> Hector Virgen wrote:
> >
> > By default, ZF won't load a class named "Mymodel". You'll need to prefix
> > the
> > class name with "Model_" (or "Default_Model_" if you are using the module
> > autoloader).
> >
>
> Thanks Hector, but that is not my problem.  It works if I manually add my
> 'models' directory to the include path.  My question is why aren't the
> extra
> includePaths specified in application.ini being loaded for my unit tests?
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/PHPUunit-and-includePaths-specified-in-application-ini-tp2177242p2180725.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to