1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01: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
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

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