mirror of
https://github.com/e107inc/e107.git
synced 2025-06-07 03:15:03 +02:00
Reinitialize user-extended class before running shortcode test.
This commit is contained in:
parent
f5352be768
commit
530183692a
@ -383,7 +383,9 @@
|
||||
|
||||
public function testUserExtendedAllShortcode()
|
||||
{
|
||||
e107::getUserExt()->init();
|
||||
|
||||
/** @var usersettings_shortcodes $sc */
|
||||
$sc = e107::getScBatch('usersettings');
|
||||
$sc->wrapper('not-a-real-wrapper');
|
||||
$sc->reset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user