Changeset 23568 for branches/version-2_13-dev/tests/class
- Timestamp:
- 2014/07/10 23:50:09 (12 years ago)
- Location:
- branches/version-2_13-dev/tests/class/helper/SC_Helper_BestProducts
- Files:
-
- 2 edited
-
SC_Helper_BestProducts_rankDownTest.php (modified) (1 diff)
-
SC_Helper_BestProducts_rankUpTest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/tests/class/helper/SC_Helper_BestProducts/SC_Helper_BestProducts_rankDownTest.php
r23546 r23568 42 42 } 43 43 44 public function testRankDown_指定されたデータがランクダウンされる(){ 45 46 SC_Helper_BestProducts_Ex::rankDown("1001"); 44 public function testRankDown_指定されたデータがランクダウンされる() 45 { 46 $objRecommend = new SC_Helper_BestProducts_Ex(); 47 $objRecommend->rankDown("1001"); 47 48 48 49 $this->expected = "2"; 49 50 50 $arrRet = SC_Helper_BestProducts_Ex::getBestProducts('1001');51 $arrRet = $objRecommend->getBestProducts('1001'); 51 52 52 53 $this->actual = $arrRet['rank']; -
branches/version-2_13-dev/tests/class/helper/SC_Helper_BestProducts/SC_Helper_BestProducts_rankUpTest.php
r23546 r23568 42 42 } 43 43 44 public function testRankUp_指定されたデータがランクアップされる(){ 44 public function testRankUp_指定されたデータがランクアップされる() 45 { 46 $objRecommend = new SC_Helper_BestProducts_Ex(); 45 47 46 SC_Helper_BestProducts_Ex::rankUp("1003");48 $objRecommend->rankUp("1003"); 47 49 48 50 $this->expected = "2"; 49 51 50 $arrRet = SC_Helper_BestProducts_Ex::getBestProducts('1003');52 $arrRet = $objRecommend->getBestProducts('1003'); 51 53 52 54 $this->actual = $arrRet['rank'];
Note: See TracChangeset
for help on using the changeset viewer.
