- Timestamp:
- 2014/06/15 02:04:23 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/tests/class/SC_Product/SC_Product_TestBase.php
r23543 r23555 67 67 $this->objQuery->insert('dtb_products_class', $item); 68 68 } 69 70 $this->setUpClass(); 69 71 $this->setUpClassCategory(); 70 72 $this->setUpProducts(); 73 } 74 75 /** 76 * DBに規格分類情報を登録します. 77 */ 78 protected function setUpClass() 79 { 80 $table = 'dtb_class'; 81 82 $data = array( 83 array( 84 'class_id' => 1, 85 'name' => '味', 86 'rank' => 1, 87 'creator_id' => 1, 88 'update_date' => 'CURRENT_TIMESTAMP', 89 ), 90 ); 91 92 $this->objQuery->delete($table); 93 foreach ($data as $item) { 94 $this->objQuery->insert($table, $item); 95 } 71 96 } 72 97
Note: See TracChangeset
for help on using the changeset viewer.