Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed another failing test case

  • Loading branch information...
commit 05b88f3f0ea97006f1ab6e59bb83e7a0878b00e4 1 parent f574e96
@lorenzo lorenzo authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Cake/Test/Case/View/ViewTest.php
View
4 lib/Cake/Test/Case/View/ViewTest.php
@@ -1066,9 +1066,7 @@ public function testRenderCache() {
$f = fopen($path, 'w+');
fwrite($f, $cacheText);
fclose($f);
- ob_start();
- $View->renderCache($path, '+1 second');
- $result = ob_get_clean();
+ $result = $View->renderCache($path, '+1 second');
$this->assertRegExp('/^some cacheText/', $result);
Please sign in to comment.
Something went wrong with that request. Please try again.