Why DoctrineModule and DoctrineORMModule ? It's not needed for testing ZfrCors :).