[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> <body><p>test</p><body>
</html>'; </html>';
$this->assertMatchesRegularExpression( $this->assertMatchesRegularExpression(
'/<head><base href=".*"><!--\[if lte IE 6\]><\/base><!\[endif\]--><\/head>/', '/<head><base href=".*" \/><\/head>/',
$this->render($tmpl2) $this->render($tmpl2)
); );
@ -973,7 +973,7 @@ after'
<body><p>test</p><body> <body><p>test</p><body>
</html>'; </html>';
$this->assertMatchesRegularExpression( $this->assertMatchesRegularExpression(
'/<head><base href=".*"><!--\[if lte IE 6\]><\/base><!\[endif\]--><\/head>/', '/<head><base href=".*" \/><\/head>/',
$this->render($tmpl3) $this->render($tmpl3)
); );
@ -983,7 +983,7 @@ after'
$response = new HTTPResponse($this->render($tmpl1)); $response = new HTTPResponse($this->render($tmpl1));
$negotiator->html($response); $negotiator->html($response);
$this->assertMatchesRegularExpression( $this->assertMatchesRegularExpression(
'/<head><base href=".*"><!--\[if lte IE 6\]><\/base><!\[endif\]--><\/head>/', '/<head><base href=".*" \/><\/head>/',
$response->getBody() $response->getBody()
); );