Fix tests after d4d146ff4f

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2022-01-28 22:26:29 +00:00
parent 285ebd78ef
commit 6f8d5fcec3
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<div class="alert alert-{{ context }}" role="alert">
{% if isUserError == false %}
{%- if isUserError == false %}
<strong>{{ type }}</strong> in {{ file ~'#'~ line }} <br>
{% endif %}
{% endif -%}
{{ message }}

View File

@ -131,7 +131,7 @@ class ErrorTest extends AbstractTestCase
public function testGetDisplay(): void
{
$this->assertStringContainsString(
'<div class="alert alert-danger" role="alert"><strong>Warning</strong>',
'<div class="alert alert-danger" role="alert"> <strong>Warning</strong>',
$this->object->getDisplay()
);
}