[BUGFIX] Remove IE 6 condition from tests

This commit is contained in:
Guido Schmechel 2022-10-06 21:21:32 +02:00
parent ec77efd25a
commit a0e4e943f2

View File

@ -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()
);