Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | $HOME = realpath(dirname(__FILE__)) . "/../../../.."; |
---|
4 | require_once($HOME . "/tests/class/helper/SC_Helper_Address/SC_Helper_Address_TestBase.php"); |
---|
5 | /** |
---|
6 | * |
---|
7 | */ |
---|
8 | class SC_Helper_Address_deleteAddressTest extends SC_Helper_Address_TestBase |
---|
9 | { |
---|
10 | |
---|
11 | protected function setUp() |
---|
12 | { |
---|
13 | parent::setUp(); |
---|
14 | $this->objAddress = new SC_Helper_Address_Ex(); |
---|
15 | } |
---|
16 | |
---|
17 | protected function tearUp() |
---|
18 | { |
---|
19 | parent::tearUp(); |
---|
20 | } |
---|
21 | |
---|
22 | ///////////////////////////////////////// |
---|
23 | |
---|
24 | public function testdeleteAddressTest_会員の登録配送先を削除する() |
---|
25 | { |
---|
26 | $this->setUpAddress(); |
---|
27 | $other_deliv_id = '1000'; |
---|
28 | $this->expected = NULL; |
---|
29 | $this->objAddress->deleteAddress($other_deliv_id); |
---|
30 | $objQuery =& SC_Query_Ex::getSingletonInstance(); |
---|
31 | $select = '*'; |
---|
32 | $from = 'dtb_other_deliv'; |
---|
33 | $where = 'other_deliv_id = ?'; |
---|
34 | $whereVal = array($other_deliv_id); |
---|
35 | $this->actual = $objQuery->getRow($select, $from, $where, $whereVal); |
---|
36 | |
---|
37 | $this->verify('登録配送先削除'); |
---|
38 | } |
---|
39 | |
---|
40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.