Reverting test change from [6790]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6799 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2008-05-11 16:39:18 +00:00
parent 285a3af40a
commit ce01acfbdf

View file

@ -175,7 +175,7 @@ class HtmlHelperTest extends CakeTestCase {
Configure::write('Asset.timestamp', true); Configure::write('Asset.timestamp', true);
$result = $this->Html->css('cake.generic'); $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); $this->assertTags($result, $expected);
$debug = Configure::read('debug'); $debug = Configure::read('debug');
@ -186,7 +186,7 @@ class HtmlHelperTest extends CakeTestCase {
Configure::write('Asset.timestamp', 'force'); Configure::write('Asset.timestamp', 'force');
$result = $this->Html->css('cake.generic'); $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); $this->assertTags($result, $expected);
Configure::write('Asset.timestamp', false); Configure::write('Asset.timestamp', false);