Changeset 22567 for branches/version-2_12-dev/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_isUsePointTest.php
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_isUsePointTest.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class SC_Helper_Purchase_isUsePointTest extends SC_Helper_Purchase_TestBase { 34 class SC_Helper_Purchase_isUsePointTest extends SC_Helper_Purchase_TestBase 35 { 35 36 36 protected function setUp() { 37 protected function setUp() 38 { 37 39 parent::setUp(); 38 40 } 39 41 40 protected function tearDown() { 42 protected function tearDown() 43 { 41 44 parent::tearDown(); 42 45 } 43 46 44 47 ///////////////////////////////////////// 45 public function testIsUsePoint_ステータスがnullの場合_FALSEが返る() { 48 public function testIsUsePoint_ステータスがnullの場合_FALSEが返る() 49 { 46 50 $this->expected = FALSE; 47 51 $this->actual = SC_Helper_Purchase::isUsePoint(null); … … 50 54 } 51 55 52 public function testIsUsePoint_ステータスがキャンセルの場合_FALSEが返る() { 56 public function testIsUsePoint_ステータスがキャンセルの場合_FALSEが返る() 57 { 53 58 $this->expected = FALSE; 54 59 $this->actual = SC_Helper_Purchase::isUsePoint(ORDER_CANCEL); … … 58 63 59 64 // TODO 要確認:本当にキャンセルのとき以外はすべてTRUEで良いのか、現在の使われ方の都合か 60 public function testIsUsePoint_ステータスがキャンセル以外の場合_TRUEが返る() { 65 public function testIsUsePoint_ステータスがキャンセル以外の場合_TRUEが返る() 66 { 61 67 $this->expected = TRUE; 62 68 $this->actual = SC_Helper_Purchase::isUsePoint(ORDER_NEW);
Note: See TracChangeset
for help on using the changeset viewer.