Ignore:
Timestamp:
2013/01/05 17:42:18 (11 years ago)
Author:
shift_hiroko.tamagawa
Message:

#1977 #1978 単体テストのファイルにコピーライトを追記、定数が邪魔をしてテストできない箇所をいったんコメントアウト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetSearchPageMaxTest.php

    r22140 r22202  
    22 
    33$HOME = realpath(dirname(__FILE__)) . "/../../../.."; 
    4 // テスト用に定数を指定 
    5 define('SEARCH_PMAX', 20); 
    64require_once($HOME . "/tests/class/Common_TestCase.php"); 
    75/* 
     
    6462  public function testSfGetSearchPageMax_負の数が指定されている場合_デフォルト値が返る() { 
    6563     
    66     $this->expected = 20; 
     64    $this->expected = SEARCH_PMAX; 
    6765    $this->actual = SC_Utils::sfGetSearchPageMax(-50); 
    6866 
     
    7270  public function testSfGetSearchPageMax_指定がない場合_デフォルト値が返る() { 
    7371     
    74     $this->expected = 20; 
     72    $this->expected = SEARCH_PMAX; 
    7573    $this->actual = SC_Utils::sfGetSearchPageMax(); 
    7674 
Note: See TracChangeset for help on using the changeset viewer.