Skip to content
Snippets Groups Projects
Commit 6521a306 authored by colemanw's avatar colemanw
Browse files

Update unit test CRM-12339

parent 8cb324cc
Branches
Tags
No related merge requests found
......@@ -134,8 +134,8 @@ class CRM_Core_ResourcesTest extends CiviUnitTestCase {
$this->res->getSettings()
);
$actual = $this->res->renderSetting();
$expected = 'CRM = cj.extend(true, ' . json_encode(array('fruit' => array('yours' => 'orange', 'mine' => 'apple'))) . ', CRM);';
$this->assertEquals($expected, $actual);
$expected = json_encode(array('fruit' => array('yours' => 'orange', 'mine' => 'apple')));
$this->assertTrue(strpos($actual, $expected) !== FALSE);
}
function testAddSettingFactory() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment