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_getProductsClassByProductIdsTest.php

    r23543 r23555  
    1212    { 
    1313        parent::setUp(); 
     14        $this->setUpProductClass(); 
    1415        $this->objProducts = new SC_Product_Ex(); 
    1516    } 
     
    2425    public function testGetProductsClassByProductIds_商品IDなしは空配列を返す() 
    2526    { 
    26         $this->setUpProductClass(); 
    27         $this->setUpProducts(); 
    28         $this->setUpClassCategory(); 
    29  
    3027        $this->expected = array(); 
    3128         
     
    3936    public function testGetProductsClassByProductIds_指定の商品IDの情報を返す() 
    4037    { 
    41         $this->setUpProductClass(); 
    42         $this->setUpProducts(); 
    43         $this->setUpClassCategory(); 
    44  
    4538        $this->expected = array( 
    4639            0=> array( 
     
    8073    public function testGetProductsClassByProductIds_削除商品含む商品情報を返す() 
    8174    { 
    82         $this->setUpProductClass(); 
    83         $this->setUpProducts(); 
    84         $this->setUpClassCategory(); 
    85  
    8675        $this->expected = array( 
    8776            0=> array( 
Note: See TracChangeset for help on using the changeset viewer.