Browse Source

Fixed another failing test

makallio85 8 years ago
parent
commit
eeafb63a7f
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

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