public function testProductionEnvironment() { $app = $this->makeApp('production'); $i = new Integrator($app); $i->setupDoctrine('phpMappingDriver'); $this->assertFalse($app['doctrine.em']->getConfiguration()->getAutoGenerateProxyClasses()); }
function setupWithYamlMappings($app, $mappingsPath = null) { $integrator = new Integrator($app); $integrator->setupDoctrine('yamlMappingDriver', $mappingsPath); }