Browse Source

Test fixed

Marko Kallio 8 years ago
parent
commit
b5556b7a3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/View/Helper/UrlHelperTest.php

+ 1 - 1
tests/TestCase/View/Helper/UrlHelperTest.php

@@ -269,7 +269,7 @@ class UrlHelperTest extends TestCase
         $this->assertRegExp('#/test_plugin/css/test_plugin_asset.css\?[0-9]+$#', $result, 'Missing timestamp plugin');
 
         $result = $this->Helper->assetTimestamp('/test_plugin/css/i_dont_exist.css');
-        $this->assertRegExp('#/test_plugin/css/i_dont_exist.css\?$#', $result, 'No error on missing file');
+        $this->assertRegExp('#/test_plugin/css/i_dont_exist.css$#', $result, 'No error on missing file');
 
         $result = $this->Helper->assetTimestamp('/test_theme/js/theme.js');
         $this->assertRegExp('#/test_theme/js/theme.js\?[0-9]+$#', $result, 'Missing timestamp theme');