$fetchedVaue = $this->getValue('description');
$this->assertEquals($campaignDescription, $fetchedVaue);
}
-}
+ function testAjaxCustomGroupLoad() {
+ $this->webtestLogin();
+ $triggerElement = array('name' => 'campaign_type_id', 'type' => 'select');
+ $customSets = array(
+ array('entity' => 'Campaign', 'subEntity' => 'Referral Program', 'triggerElement' => $triggerElement),
+ array('entity' => 'Campaign', 'subEntity' => 'Constituent Engagement', 'triggerElement' => $triggerElement)
+ );
+
+ $pageUrl = array('url' => 'campaign/add', 'args' => 'reset=1');
+ $this->customFieldSetLoadOnTheFlyCheck($customSets, $pageUrl);
+ }
+}
\ No newline at end of file