예제 #1
0
 public function setUp()
 {
     $this->_server = new Amf\Server();
     $this->_server->setProduction(false);
     \ZendAmf\Parser\TypeLoader::resetMap();
     $this->_acl = new Acl\Acl();
 }
예제 #2
0
 /**
  * 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();
 }
예제 #3
0
 /**
  * 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();
 }
예제 #4
0
 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);
 }