Skip to content

Commit

Permalink
Removing expectation that was not being fulfilled.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 25, 2011
1 parent fcd0505 commit ffe575b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Cake/Test/Case/View/HelperTest.php
Expand Up @@ -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');

Expand Down

0 comments on commit ffe575b

Please sign in to comment.