public function setup() {
   parent::setup();
   $GLOBALS['obm']['uid'] = 3;
   $this->mailObserver = new OBM_EventMailObserver();
   OBM_EventFactory::getInstance()->attach($this->mailObserver);
   SMailer::set_default_transport(new Stato_StaticTransport());
   OBM_Acl::initialize();
 }
Exemple #2
0
  public function setup() {
    parent::setup();
    $_SESSION['set_lang'] = 'fr';
//    Stato_I18n::setLocale('fr');
    $GLOBALS['params']['report_email'] = array('domainezz.com Admin <*****@*****.**>');
    $GLOBALS['obm']['uid'] = 3;
    Stato_Mailer::setDefaultTransport(new Stato_StaticTransport());
  }