CRM-16168 - Added 2 unit tests.
authorJohan Vervloet <johanv@johanv.org>
Tue, 24 Mar 2015 09:23:00 +0000 (10:23 +0100)
committereileenmcnaugton <eileen@fuzion.co.nz>
Wed, 5 Aug 2015 11:01:57 +0000 (23:01 +1200)
commitf8de858335c469e28d4945c9186a091a8464fc9f
tree207e4b12f24f06a604169954e7665c6fbe030244
parentdba52f3ee16a06d6b10be982cc1d9577e9ea826d
CRM-16168 - Added 2 unit tests.

In the two tests, I try to get an event and its loc block
in one chained call.

In the first test, a loc block exists, so it should be
returned.

In the second test, no loc block exists. This should not
crash the API.

----------------------------------------
* CRM-16168: Chained call event-loc block returns an error if no loc block exists.
  https://issues.civicrm.org/jira/browse/CRM-16168
tests/phpunit/api/v3/EventTest.php