2 require_once 'CiviTest/CiviUnitTestCase.php';
4 class CRM_Case_PseudoConstantTest
extends CiviUnitTestCase
{
7 'name' => 'Case PseudoConstants',
8 'description' => 'Test Case_PseudoConstant methods.',
16 $this->loadAllFixtures();
18 CRM_Core_BAO_ConfigSetting
::enableComponent('CiviCase');
21 function testCaseType() {
22 $caseTypes = CRM_Case_PseudoConstant
::caseType();
23 $expectedTypes = array(
24 1 => 'Housing Support',
26 $this->assertEquals($expectedTypes, $caseTypes);