commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / tests / phpunit / CRM / Case / PseudoConstantTest.php
1 <?php
2 require_once 'CiviTest/CiviCaseTestCase.php';
3
4 /**
5 * Class CRM_Case_PseudoConstantTest
6 */
7 class CRM_Case_PseudoConstantTest extends CiviCaseTestCase {
8
9 public function testCaseType() {
10 CRM_Core_PseudoConstant::flush();
11 $caseTypes = CRM_Case_PseudoConstant::caseType();
12 $expectedTypes = array(
13 1 => 'Housing Support',
14 2 => 'Adult Day Care Referral',
15 );
16 $this->assertEquals($expectedTypes, $caseTypes);
17 }
18
19 }