1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Issue #4352 - Canonical added for page, forum and download. Replaced some e_PAGETITLE with e107::title()

This commit is contained in:
Cameron
2021-01-19 09:50:02 -08:00
parent 76144e6b4f
commit f091709847
10 changed files with 128 additions and 55 deletions

View File

@@ -967,6 +967,18 @@ class e107Test extends \Codeception\Test\Unit
}
public function testCanonical()
{
$e107 = $this->e107;
$e107::canonical('news');
$result = $e107::canonical();
$this->assertSame("https://localhost/e107/news", $result);
}
public function testUrl()
{