Пример #1
0
 public function setUp()
 {
     parent::setUp();
     $this->Coupon = ClassRegistry::init('Coupon');
     $this->CouponPresenter = ClassRegistry::init('CouponPresenter');
     $this->CouponPresenterUser = ClassRegistry::init('CouponPresenterUser');
 }
Пример #2
0
 public function setUp()
 {
     parent::setUp();
     $this->Presenter = ClassRegistry::init('Presenter');
     $this->PresenterSite = ClassRegistry::init('PresenterSite');
     $this->User = ClassRegistry::init('User');
 }
Пример #3
0
 public function setUp()
 {
     parent::setUp();
     $this->Look = ClassRegistry::init('Look');
     $this->Item = ClassRegistry::init('Item');
     $this->LookItem = ClassRegistry::init('LookItem');
 }
Пример #4
0
 public function setUp()
 {
     parent::setUp();
     $this->Order = ClassRegistry::init('Order');
     $this->OrderCustomer = ClassRegistry::init('OrderCustomer');
     $this->Presenter = ClassRegistry::init('Presenter');
     $this->Order = ClassRegistry::init('Order');
 }
 public function setUp()
 {
     parent::setUp();
     $this->Party = ClassRegistry::init('Party');
     $this->User = ClassRegistry::init('User');
     $this->Order = ClassRegistry::init('Order');
     $this->OrderCommission = ClassRegistry::init('OrderCommission');
     $this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
 }
 public function setUp()
 {
     parent::setUp();
     $this->Order = ClassRegistry::init('Order');
     $this->OrderCustomer = ClassRegistry::init('OrderCustomer');
     $this->Presenter = ClassRegistry::init('Presenter');
     $this->Order = ClassRegistry::init('Order');
     $this->OrderCommission = ClassRegistry::init('OrderCommission');
     $this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
 }
 public function setUp()
 {
     parent::setUp();
     PHPUnit_Framework_Error_Notice::$enabled = FALSE;
     $CakeRequest = new CakeRequest();
     $CakeResponse = new CakeResponse();
     $this->Controller = new TestController($CakeRequest, $CakeResponse);
     $Collection = new ComponentCollection();
     $this->Payment = new PaymentComponent($Collection);
     $this->Payment->startup($this->Controller);
 }
 public function setUp()
 {
     parent::setUp();
     $this->Party = ClassRegistry::init('Party');
     $this->Order = ClassRegistry::init('Order');
     $this->OrderCustomer = ClassRegistry::init('OrderCustomer');
     $this->Presenter = ClassRegistry::init('Presenter');
     $this->OrderCommission = ClassRegistry::init('OrderCommission');
     $this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
     $CakeRequest = new CakeRequest();
     $CakeResponse = new CakeResponse();
 }
 public function setUp()
 {
     //     PHPUnit_Framework_Error_Notice::$enabled = FALSE;
     parent::setUp();
     $this->Party = ClassRegistry::init('Party');
     $this->Order = ClassRegistry::init('Order');
     $this->OrderCustomer = ClassRegistry::init('OrderCustomer');
     $this->Presenter = ClassRegistry::init('Presenter');
     $this->OrderCommission = ClassRegistry::init('OrderCommission');
     $this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
     $CakeRequest = new CakeRequest();
     $CakeResponse = new CakeResponse();
 }
Пример #10
0
 public function setUp()
 {
     parent::setUp();
     $this->SystemSetting = ClassRegistry::init('SystemSetting');
 }
Пример #11
0
 public function setUp()
 {
     parent::setUp('app.country');
     $this->LookAction = ClassRegistry::init('LookAction');
 }
Пример #12
0
 public function setUp()
 {
     parent::setUp();
     $this->ShoppingCart = new ShoppingCartItem();
     $this->ShoppingCart->session = new SessionStub();
 }
Пример #13
0
 public function setUp()
 {
     parent::setUp('app.country');
     $this->Geolocation = ClassRegistry::init('Geolocation');
 }
Пример #14
0
 public function setUp()
 {
     parent::setUp();
     $this->PresenterType = ClassRegistry::init('PresenterType');
 }
Пример #15
0
 public function setUp()
 {
     parent::setUp();
     $this->State = ClassRegistry::init('State');
 }
Пример #16
0
 public function setUp()
 {
     parent::setUp();
     $this->resetModel();
 }
Пример #17
0
 public function setUp()
 {
     parent::setUp();
     $this->ItemPrice = ClassRegistry::init('ItemPrice');
 }
Пример #18
0
 public function setUp()
 {
     parent::setUp();
     $this->Party = ClassRegistry::init('Party');
     $this->User = ClassRegistry::init('User');
 }
Пример #19
0
 public function setUp()
 {
     parent::setUp();
     $this->Order = ClassRegistry::init('Order');
 }
Пример #20
0
 public function setUp()
 {
     parent::setUp();
     $this->Market = ClassRegistry::init('Market');
 }
 public function setUp()
 {
     parent::setUp();
     $this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
 }
Пример #22
0
 public function setUp()
 {
     parent::setUp();
     $this->ProductCredit = ClassRegistry::init('ProductCredit');
     $this->ProductCreditBadBalance = $this->getMock('ProductCredit', array('balance'), array(false, 'product_credits', 'test'));
 }
Пример #23
0
 public function setUp()
 {
     parent::setUp();
     $this->Accomplishment = ClassRegistry::init('Accomplishment');
     $this->Presenter = ClassRegistry::init('Presenter');
 }
Пример #24
0
 public function setUp()
 {
     parent::setUp();
     $this->PartyReward = ClassRegistry::init('PartyReward');
 }
Пример #25
0
 public function setUp()
 {
     parent::setUp();
     $this->LookMedia = ClassRegistry::init('LookMedia');
     //$this->Presenter = ClassRegistry::init('Presenter');
 }
Пример #26
0
 public function setUp()
 {
     parent::setUp();
     $this->Country = ClassRegistry::init('Country');
 }