예제 #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');
 }