mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
[BUGFIX] Remove IE 6 condition from tests
This commit is contained in:
parent
ec77efd25a
commit
a0e4e943f2
@ -962,7 +962,7 @@ after'
|
||||
<body><p>test</p><body>
|
||||
</html>';
|
||||
$this->assertMatchesRegularExpression(
|
||||
'/<head><base href=".*"><!--\[if lte IE 6\]><\/base><!\[endif\]--><\/head>/',
|
||||
'/<head><base href=".*" \/><\/head>/',
|
||||
$this->render($tmpl2)
|
||||
);
|
||||
|
||||
@ -973,7 +973,7 @@ after'
|
||||
<body><p>test</p><body>
|
||||
</html>';
|
||||
$this->assertMatchesRegularExpression(
|
||||
'/<head><base href=".*"><!--\[if lte IE 6\]><\/base><!\[endif\]--><\/head>/',
|
||||
'/<head><base href=".*" \/><\/head>/',
|
||||
$this->render($tmpl3)
|
||||
);
|
||||
|
||||
@ -983,7 +983,7 @@ after'
|
||||
$response = new HTTPResponse($this->render($tmpl1));
|
||||
$negotiator->html($response);
|
||||
$this->assertMatchesRegularExpression(
|
||||
'/<head><base href=".*"><!--\[if lte IE 6\]><\/base><!\[endif\]--><\/head>/',
|
||||
'/<head><base href=".*" \/><\/head>/',
|
||||
$response->getBody()
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user