Changeset 23520


Ignore:
Timestamp:
2014/06/04 12:37:32 (10 years ago)
Author:
shutta
Message:

#2570 テスト> 商品一覧取得テスト(SC_Product_listsTest)にて、更新日付が一致せずこける場合がある
更新日付の取得の仕方に問題があったのを修正。

File:
1 edited

Legend:

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

    r22567 r23520  
    2828        $this->setUpClassCategory(); 
    2929        //更新日を取得 
    30         $arrRet = $this->objQuery->getCol('update_date','dtb_products', 'product_id = 1001'); 
     30        $col = 'update_date'; 
     31        $table = 'dtb_products'; 
     32        $where = 'product_id IN (1001, 1002)'; 
     33        $this->objQuery->setOrder('product_id'); 
     34        $arrRet = $this->objQuery->getCol($col, $table, $where); 
    3135 
    3236        $this->expected = array( 
     
    7781                ,'status' => '2' 
    7882                ,'del_flg' => '0' 
    79                 ,'update_date' => $arrRet[0] 
     83                ,'update_date' => $arrRet[1] 
    8084 
    8185            ) 
Note: See TracChangeset for help on using the changeset viewer.