public function setUp() { $this->_server = new Amf\Server(); $this->_server->setProduction(false); \ZendAmf\Parser\TypeLoader::resetMap(); $this->_acl = new Acl\Acl(); }
/** * Setup environment */ public function setUp() { $this->_originaltimezone = date_default_timezone_get(); date_default_timezone_set("America/Chicago"); Parser\TypeLoader::resetMap(); $this->_request = new \ZendAmf\Request\StreamRequest(); }
/** * Setup environment */ public function setUp() { $this->_originaltimezone = date_default_timezone_get(); date_default_timezone_set('America/Chicago'); Locale::setFallback('en_US'); Parser\TypeLoader::resetMap(); $this->_response = new \ZendAmf\Response\StreamResponse(); }
public function setUp() { $this->_server = new Amf\Server(); $this->_server->setProduction(false); Parser\TypeLoader::resetMap(); Session\Container::setDefaultManager(null); $config = new Session\Configuration\StandardConfiguration(array('class' => 'Zend\\Session\\Configuration\\StandardConfiguration', 'storage' => 'Zend\\Session\\Storage\\ArrayStorage')); $this->session = new \ZendTest\Session\TestAsset\TestManager($config); Session\Container::setDefaultManager($this->session); }