Fix tests after d4d146ff4f
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
285ebd78ef
commit
6f8d5fcec3
@ -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 }}
|
||||
|
||||
|
||||
@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user