From ce01acfbdfd5811d4049d71c6743c3cac1b0b3f3 Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Sun, 11 May 2008 16:39:18 +0000 Subject: [PATCH] Reverting test change from [6790] git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6799 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/view/helpers/html.test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/view/helpers/html.test.php b/cake/tests/cases/libs/view/helpers/html.test.php index 2488e9934..189c5b4e9 100644 --- a/cake/tests/cases/libs/view/helpers/html.test.php +++ b/cake/tests/cases/libs/view/helpers/html.test.php @@ -175,7 +175,7 @@ class HtmlHelperTest extends CakeTestCase { Configure::write('Asset.timestamp', true); $result = $this->Html->css('cake.generic'); - $expected['link']['href'] = 'preg:/.*css\/cake\.generic\.css\?[0-9]*/'; + $expected['link']['href'] = 'preg:/.*css\/cake\.generic\.css\?[0-9]+/'; $this->assertTags($result, $expected); $debug = Configure::read('debug'); @@ -186,7 +186,7 @@ class HtmlHelperTest extends CakeTestCase { Configure::write('Asset.timestamp', 'force'); $result = $this->Html->css('cake.generic'); - $expected['link']['href'] = 'preg:/.*css\/cake\.generic\.css\?[0-9]*/'; + $expected['link']['href'] = 'preg:/.*css\/cake\.generic\.css\?[0-9]+/'; $this->assertTags($result, $expected); Configure::write('Asset.timestamp', false);