refactor: added AbstractProxy base class for shortener proxies

This commit is contained in:
Karthik Kasturi
2025-08-15 23:28:44 +01:00
parent 714e455479
commit 4a39a2ad0f
12 changed files with 221 additions and 216 deletions

View File

@@ -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(