@@ -17,7 +17,9 @@ if (empty($ERROR)) :
<?php
else:
?>
- <p><?php echo I18n::_('Could not create paste: %s', $ERROR); ?></p>
+ <div id="errormessage">
+ <p><?php echo I18n::_('Could not create paste: %s', $ERROR); ?></p>
+ </div>
endif;
@@ -106,6 +106,10 @@ class ViewTest extends PHPUnit_Framework_TestCase
$content,
$template . ': outputs error correctly'
);
+ if ($template === 'yourlsproxy') {
+ // yourlsproxy template only displays error message
+ continue;
+ }
$this->assertRegExp(
'#<[^>]+id="password"[^>]*>#',