Permalink
Browse files

Fixed another failing test case

  • Loading branch information...
lorenzo committed Apr 15, 2012
1 parent f574e96 commit 05b88f3f0ea97006f1ab6e59bb83e7a0878b00e4
Showing with 1 addition and 3 deletions.
  1. +1 −3 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);

0 comments on commit 05b88f3

Please sign in to comment.