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