Permalink
Browse files

Removing expectation that was not being fulfilled.

  • Loading branch information...
1 parent fcd0505 commit ffe575bb7d3c029ce0f19b783fc7f46514bd0039 @markstory markstory committed Jun 25, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Cake/Test/Case/View/HelperTest.php
@@ -526,7 +526,6 @@ public function testAssetTimestampPluginsAndThemes() {
$result = $this->Helper->assetTimestamp('/test_plugin/css/test_plugin_asset.css');
$this->assertPattern('#/test_plugin/css/test_plugin_asset.css\?[0-9]+$#', $result, 'Missing timestamp plugin');
- $this->setExpectedException('PHPUnit_Framework_Error_Warning');
$result = $this->Helper->assetTimestamp('/test_plugin/css/i_dont_exist.css');
$this->assertPattern('#/test_plugin/css/i_dont_exist.css\?$#', $result, 'No error on missing file');

0 comments on commit ffe575b

Please sign in to comment.