euromark 11 年 前
コミット
dd0cf530e7
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Test/Case/Lib/Utility/TimeLibTest.php

+ 2 - 0
Test/Case/Lib/Utility/TimeLibTest.php

@@ -551,6 +551,8 @@ class TimeLibTest extends MyCakeTestCase {
 		//pr($res);
 		$this->assertTrue(!empty($res));
 
+		$this->skipIf(__d('tools', 'Days') !== 'Tage', 'Needs German po file.');
+
 		$res = TimeLib::relLengthOfTime(date(FORMAT_DB_DATETIME, time() - 4 * DAY - 5 * HOUR), null, array('plural' => 'n'));
 		//pr($res);
 		//$this->assertEquals($res, 'Vor 4 Tagen, 5 '.__d('tools', 'Hours'));