From: Kurund Jalmi Date: Fri, 2 May 2014 18:10:04 +0000 (-0700) Subject: Merge pull request #3077 from adamwight/test_fixtures X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6a90c48471bdb1bde40012a1c0ae879e710d66b2;p=civicrm-core.git Merge pull request #3077 from adamwight/test_fixtures Provide a RoR-like test fixture helper --- 6a90c48471bdb1bde40012a1c0ae879e710d66b2 diff --cc tests/phpunit/api/v3/CaseTest.php index 82cb124868,e65953d41f..8d15651fde --- a/tests/phpunit/api/v3/CaseTest.php +++ b/tests/phpunit/api/v3/CaseTest.php @@@ -98,10 -111,10 +98,12 @@@ class api_v3_CaseTest extends CiviUnitT 'civicrm_relationship_type', ); - $this->quickCleanup($tablesToTruncate); + $this->quickCleanup($this->tablesToTruncate); + + $this->loadAllFixtures(); + $this->loadAllFixtures(); + $activityTypes = $this->callAPISuccess('option_value', 'get', array( 'option_group_id' => 2, 'name' => 'Follow Up',