1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

e_parseTest initialization order fix for flaky test?

This commit is contained in:
Nick Liu
2019-12-25 13:56:28 -08:00
parent b3cf8df03c
commit 0466841d2d

View File

@@ -163,8 +163,8 @@ TMP;
$db = $this->tp->toDB($orig);
e107::wysiwyg('default');
e107::getConfig()->updatePref('wysiwyg', true);
e107::wysiwyg('default');
$actual = $this->tp->toForm($db);
$expected = 'lr.src = window._lr.url %2B '/Scripts/api.js';';
$this->assertEquals($expected, $actual);