2 require_once 'CiviTest/CiviUnitTestCase.php';
5 * Class CRM_Case_PseudoConstantTest
7 class CRM_Case_PseudoConstantTest
extends CiviUnitTestCase
{
13 'name' => 'Case PseudoConstants',
14 'description' => 'Test Case_PseudoConstant methods.',
22 $this->loadAllFixtures();
24 CRM_Core_BAO_ConfigSetting
::enableComponent('CiviCase');
27 function testCaseType() {
28 CRM_Core_PseudoConstant
::flush();
29 $caseTypes = CRM_Case_PseudoConstant
::caseType();
30 $expectedTypes = array(
31 1 => 'Housing Support',
33 $this->assertEquals($expectedTypes, $caseTypes);