making unit tests work with spans

This commit is contained in:
El RIDO 2017-03-02 19:44:43 +01:00
parent 85aa072234
commit d358271451
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 12 additions and 12 deletions

View file

@ -104,7 +104,7 @@ class ViewTest extends PHPUnit_Framework_TestCase
$template . ': outputs data correctly'
);
$this->assertRegExp(
'#<div[^>]+id="errormessage"[^>]*>.*' . self::$error . '</div>#',
'#<div[^>]+id="errormessage"[^>]*>.*' . self::$error . '</#',
$content,
$template . ': outputs error correctly'
);