cleanup activity tests, examples, api
authoreileen <eileen@fuzion.co.nz>
Mon, 10 Jun 2013 05:55:40 +0000 (17:55 +1200)
committereileen <eileen@fuzion.co.nz>
Mon, 10 Jun 2013 05:55:40 +0000 (17:55 +1200)
commitfeb2a730cf3effe7bac3ce2bac86cf3a67b00e71
tree0ea9b97b85395edf1b410fefb0ff0f2ba9d566f6
parenta4c5e9a3c74cb9405674dd1ba9a355abcc7ada96
cleanup activity tests, examples, api
fix includes removing 'activity_status_id' from _spec & adding testing that api alias mechanism works without that, removing pointless tests, using assertAPIFailure & assertAPISuccess and removing trailing spaces from generated tests (now the template no longer has them, API test class passes after this although it does not address prob when class is run as part of suite
13 files changed:
api/v3/Activity.php
api/v3/examples/Activity/ContactRefCustomField.php
api/v3/examples/Activity/ContactRefCustomFieldGet.php
api/v3/examples/Activity/DateTimeHigh.php
api/v3/examples/Activity/DateTimeLow.php
api/v3/examples/Activity/GetTargetandAssignee.php
api/v3/examples/Activity/ReturnAssigneeContact.php
api/v3/examples/ActivityCreate.php
api/v3/examples/ActivityDelete.php
api/v3/examples/ActivityGet.php
api/v3/examples/ActivityGetfields.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/ActivityTest.php