Ignore:
Timestamp:
2014/07/10 23:50:09 (10 years ago)
Author:
shutta
Message:

#2581 (おすすめ商品管理> 最後尾のおすすめ商品の「下へ」ボタンが動作しない)
おすすめ商品のrank構造は、他のrankと扱われ方が異なるので、SC_Helper_DBのsfRankUP(),sfRankDown()ではなく、独自の「上へ」「下へ」の処理を行うよう改修。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/tests/class/helper/SC_Helper_BestProducts/SC_Helper_BestProducts_rankUpTest.php

    r23546 r23568  
    4242    } 
    4343 
    44     public function testRankUp_指定されたデータがランクアップされる(){ 
     44    public function testRankUp_指定されたデータがランクアップされる() 
     45    { 
     46        $objRecommend = new SC_Helper_BestProducts_Ex(); 
    4547 
    46         SC_Helper_BestProducts_Ex::rankUp("1003"); 
     48        $objRecommend->rankUp("1003"); 
    4749 
    4850        $this->expected = "2"; 
    4951 
    50         $arrRet = SC_Helper_BestProducts_Ex::getBestProducts('1003'); 
     52        $arrRet = $objRecommend->getBestProducts('1003'); 
    5153 
    5254        $this->actual = $arrRet['rank']; 
Note: See TracChangeset for help on using the changeset viewer.