示例#1
0
文件: UserTest.php 项目: ud223/yj
 public function setUp()
 {
     parent::setUp();
     $this->_instance = new Angel_Model_User($this->_bootstrap);
     // clear the user collection
     $this->_documentManager->createQueryBuilder($this->_instance->getDocumentClass())->remove()->getQuery()->execute();
 }
示例#2
0
文件: EmailTest.php 项目: ud223/yj
 public function setUp()
 {
     parent::setUp();
     $this->_emailService = $this->_container->get('email');
 }
示例#3
0
文件: OssTest.php 项目: ud223/yj
 public function setUp()
 {
     parent::setUp();
     $this->_ossService = $this->_container->get('oss');
 }