mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Issue #5205 - Creation of urls with custom domain setting when using 'full' mode.
This commit is contained in:
@@ -1566,6 +1566,12 @@ class e107Test extends \Codeception\Test\Unit
|
||||
// $this->assertEquals("https://localhost/e107/news", $result);
|
||||
}
|
||||
|
||||
// e107 v2.4 - test for custom domain
|
||||
e107::getPlugin()->install('_blank');
|
||||
$result = $obj::url('_blank', 'parked',null,['mode'=>'full']);
|
||||
self::assertSame('https://parked-domain.com/custom', $result);
|
||||
e107::getPlugin()->uninstall('_blank');
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user