Is your repository actually defined as a service? Marco Pivetta
http://twitter.com/Ocramius http://ocramius.github.com/ On 28 June 2013 18:47, Jigal sanders <[email protected]> wrote: > Hello, > > I am keeping to get the following error: > > 1) MyTest\Controller\OverviewControllerTest::testEditActionAcceptsId > Zend\ServiceManager\Exception\ServiceNotFoundException: > Zend\ServiceManager\Serv > iceManager::get was unable to fetch or create an instance for > myt\EntityRepository\Product > > > this is how I Run the test: > > > > $sm = ServiceManagerFactory::getServiceManager(); > $this->repository = $sm->get( 'Kasjroet\EntityRepository\Product'); > $this->assertInstanceOf('Kasjroet\EntityRepository\Product', > $this->repository); > > Any suggestions? > > Thanks, > > J. Sanders >
