Browse Source

Unskip a few test cases.

mark_story 11 years ago
parent
commit
ce53fe8371

+ 2 - 3
tests/TestCase/BasicsTest.php

@@ -415,17 +415,16 @@ EXPECTED;
  * @return void
  */
 	public function testPr() {
-		$this->skipIf(php_sapi_name() === 'cli', 'Skipping web test in cli mode');
 		ob_start();
 		pr('this is a test');
 		$result = ob_get_clean();
-		$expected = "<pre>this is a test</pre>";
+		$expected = "\nthis is a test\n";
 		$this->assertEquals($expected, $result);
 
 		ob_start();
 		pr(array('this' => 'is', 'a' => 'test'));
 		$result = ob_get_clean();
-		$expected = "<pre>Array\n(\n    [this] => is\n    [a] => test\n)\n</pre>";
+		$expected = "\nArray\n(\n    [this] => is\n    [a] => test\n)\n\n";
 		$this->assertEquals($expected, $result);
 	}
 

+ 0 - 1
tests/TestCase/View/Helper/HtmlHelperTest.php

@@ -757,7 +757,6 @@ class HtmlHelperTest extends TestCase {
  */
 	public function testScriptTimestamping() {
 		$this->skipIf(!is_writable(WWW_ROOT . 'js'), 'webroot/js is not Writable, timestamp testing has been skipped.');
-
 		Configure::write('debug', true);
 		Configure::write('Asset.timestamp', true);
 

+ 0 - 0
tests/test_app/webroot/js/empty