Ignore:
Timestamp:
2014/06/15 02:04:23 (10 years ago)
Author:
shutta
Message:

#1993 [共通クラス]SC_Product
dtb_classテーブルのデータ初期化が漏れていたので追加。(必要なデータはクラス内で用意させる)
setUp周りの冗長な処理を改善。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/tests/class/SC_Product/SC_Product_getListByProductIdsTest.php

    r23526 r23555  
    1212    { 
    1313        parent::setUp(); 
     14        $this->setUpProductClass(); 
    1415        $this->objProducts = new SC_Product_Ex(); 
    1516    } 
     
    2425    public function testGetListByProductIds_商品ID指定がない場合は空配列() 
    2526    { 
    26         $this->setUpProductClass(); 
    27         $this->setUpProducts(); 
    28         $this->setUpClassCategory(); 
    29  
    3027        $this->expected = array(); 
    3128 
     
    3734    public function testGetListByProductIds_指定の商品IDで情報を取得する() 
    3835    { 
    39         $this->setUpProductClass(); 
    40         $this->setUpProducts(); 
    41         $this->setUpClassCategory(); 
    42          
    4336        $arrProductId = array('1001'); 
    4437        //更新日を取得 
Note: See TracChangeset for help on using the changeset viewer.