Any error messages in the apache log? Are you trying to open a log for writing in a non-writable directory (because you are using chdir when bootstrapping the tests?)
On Tue, Feb 23, 2016 at 12:23 PM, Simon Walter <[email protected]> wrote: > (Sorry for double posting. I sent this to contrib earlier forgetting it's > the wrong place.) > > Hi all, > > I am having a problem where factories that I have declared in the config > files or Module.php files are not being created: > > return array( > 'service_manager' => array( > 'factories' => array( > 'log' => 'Log\Service\Factory\Log' > ), > ) > ); > > "Zend\ServiceManager\ServiceManager::get was unable to fetch or create > an instance for log" > > My main "Application" module's factories work fine with PHPUnit. My new > "Log" module's factories do not. Both work fine when accessing via > Apache (index.php). > > Any ideas? > > Thanks, > > Simon > > > > > -- > List: [email protected] > Info: http://framework.zend.com/archives > Unsubscribe: [email protected] > > >
