mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removing expectation that was not being fulfilled.
This commit is contained in:
parent
fcd0505d42
commit
ffe575bb7d
1 changed files with 0 additions and 1 deletions
|
@ -526,7 +526,6 @@ class HelperTest extends CakeTestCase {
|
||||||
$result = $this->Helper->assetTimestamp('/test_plugin/css/test_plugin_asset.css');
|
$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->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');
|
$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');
|
$this->assertPattern('#/test_plugin/css/i_dont_exist.css\?$#', $result, 'No error on missing file');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue