浏览代码

skip locale test

euromark 12 年之前
父节点
当前提交
d4643e7f69
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Test/Case/Lib/Utility/TimeLibTest.php

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

@@ -29,6 +29,7 @@ class TimeLibTest extends MyCakeTestCase {
 	}
 	}
 
 
 	public function testLocalDate() {
 	public function testLocalDate() {
+		$this->skipIf(php_sapi_name() === 'cli', 'for now');
 		$res = setlocale(LC_TIME, array('de_DE.UTF-8', 'deu_deu'));
 		$res = setlocale(LC_TIME, array('de_DE.UTF-8', 'deu_deu'));
 		//debug($res);
 		//debug($res);