mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
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:
parent
285a3af40a
commit
ce01acfbdf
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue