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

Issue #5114 - Prevent override class conflict.

This commit is contained in:
camer0n
2023-11-24 09:34:46 -08:00
parent 98eaf0c682
commit 56edcd53ee
3 changed files with 46 additions and 6 deletions

View File

@@ -289,13 +289,19 @@ class e107Test extends \Codeception\Test\Unit
$res = null;
$this->assertTrue($res);
}
*/
public function testGetSingleton()
{
$res = null;
$this->assertTrue($res);
$e107 = $this->e107;
$result = $e107::getSingleton('override', e_HANDLER . 'override_class.php');
$exists = method_exists($result, 'override_check');
$this->assertTrue($exists, 'Failed to load override class singleton');
}
/*
public function testGetObject()
{
$res = null;