mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-23 23:11:04 -04:00
making unit tests work with spans
This commit is contained in:
parent
85aa072234
commit
d358271451
3 changed files with 12 additions and 12 deletions
|
@ -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'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue