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:
@@ -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()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user