mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-17 21:38:10 -04:00
refactor: added AbstractProxy base class for shortener proxies
This commit is contained in:
@@ -106,8 +106,8 @@ class ViewTest extends TestCase
|
||||
$content,
|
||||
$template . ': outputs error correctly'
|
||||
);
|
||||
if ($template === 'yourlsproxy' || $template === 'shlinkproxy') {
|
||||
// yourlsproxy and shlinkproxy templates only display error message
|
||||
if ($template === 'shortenerproxy') {
|
||||
// shortenerproxy template only displays error message
|
||||
continue;
|
||||
}
|
||||
$this->assertMatchesRegularExpression(
|
||||
|
||||
Reference in New Issue
Block a user