protected function setUp() { parent::setUp(); // 空にするだけなので適当な値を設定 $_SESSION['shipping'] = 'temp01'; $_SESSION['multiple_temp'] = 'temp02'; }
protected function setUp() { parent::setUp(); $this->customer = new SC_Customer(); $this->customer->setValue('customer_id', '1001'); $this->customer->setValue('name01', '姓01'); $this->customer->setValue('name02', '名01'); $this->customer->setValue('kana01', 'セイ01'); $this->customer->setValue('kana02', 'メイ01'); $this->customer->setValue('sex', '1'); $this->customer->setValue('zip01', '123'); $this->customer->setValue('zip02', '4567'); $this->customer->setValue('pref', '東京都'); $this->customer->setValue('addr01', 'abc市'); $this->customer->setValue('addr02', 'def町'); $this->customer->setValue('tel01', '01'); $this->customer->setValue('tel02', '234'); $this->customer->setValue('tel03', '5678'); $this->customer->setValue('fax01', '02'); $this->customer->setValue('fax02', '345'); $this->customer->setValue('fax03', '6789'); $this->customer->setValue('job', '会社員'); $this->customer->setValue('birth', '2012-01-01'); $this->customer->setValue('email', '*****@*****.**'); $this->customer_array = array('customer_id' => '1001', 'email' => '*****@*****.**'); }
protected function setUp() { parent::setUp(); $this->setUpOrder(); $this->setUpCustomer(); $this->helper = new SC_Helper_Purchase_sfUpdateOrderStatusMock(); }
protected function setUp() { parent::setUp(); $this->setUpShipmentItem(); $this->setUpShippingOnDb(); $this->setUpOrderDetail(); }
protected function setUp() { parent::setUp(); $this->setUpOrder(); $this->setUpOrderDetail(); $this->setUpProductClass(); }
protected function setUp() { parent::setUp(); $this->setUpProductClass(); $this->setUpProducts(); $_SESSION['shipping']['1001']['shipment_item'] = array('1001' => array('productsClass' => array('price02' => 9000))); $this->helper = new SC_Helper_Purchase(); }
protected function setUp() { parent::setUp(); $this->setUpOrder(); $this->setUpOrderTemp(); $this->setUpPayment(); $this->setUpDeliv(); $this->setUpDelivTime(); $this->setUpShippingOnDb(); $this->helper = new SC_Helper_Purchase(); }
protected function setUp() { parent::setUp(); $this->setUpOrderTemp(); // order_temp_id = '1001' $this->setUpShipping(); $this->setUpCustomer(); $_SESSION['cartKey'] = '1'; $_SESSION['site'] = array('pre_page' => 'pre', 'now_page' => 'now', 'regist_success' => TRUE, 'uniqid' => '1001'); $this->helper = new SC_Helper_Purchase_completeOrderMock(); }
protected function setUp() { parent::setUp(); $this->setUpOrder(); $this->helper = new SC_Helper_Purchase_registerOrderMock(); }
protected function setUp() { parent::setUp(); $this->setUpPaymentOptions(); }
protected function setUp() { parent::setUp(); $this->setUpShipmentItem(); }
protected function setUp() { parent::setUp(); $this->setUpOrderTemp(); $this->helper = new SC_Helper_Purchase_saveOrderTempMock(); }
protected function setUp() { parent::setUp(); }
protected function setUp() { parent::setUp(); $this->setUpDelivTime(); }
protected function setUp() { parent::setUp(); $this->setUpShippingOnDb(); }
protected function setUp() { parent::setUp(); $this->helper = new SC_Helper_Purchase_rollbackOrderMock(); }
protected function setUp() { parent::setUp(); $this->setUpProductClass(); }
protected function setUp() { parent::setUp(); $this->setUpOrder(); }
protected function setUp() { parent::setUp(); $this->setUpProductClass(); $this->helper = new SC_Helper_Purchase_cancelOrderMock(); }