1
0
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:
Cameron 2021-01-22 17:34:36 -08:00
parent f5352be768
commit 530183692a

View File

@ -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();