コード例 #1
0
 public function testLoadWithEngineOrm()
 {
     $searchExtension = new OroSearchExtension();
     $config = array('oro_search' => array('engine' => Configuration::DEFAULT_ENGINE, 'realtime_update' => true));
     $this->container->setParameter('oro_search.drivers', array('pro_pgSql'));
     $searchExtension->load($config, $this->container);
 }
コード例 #2
0
 public function testLoadWithEngineOrm()
 {
     $searchExtension = new OroSearchExtension();
     $config = array('oro_search' => array('engine' => 'orm', 'realtime_update' => true, 'engine_orm' => array('pro_pgSql')));
     $searchExtension->load($config, $this->container);
 }