+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
public function setUp() {
parent::setUp();
- $this->_contactId = Contact::createIndividual();
- $this->_eventId = Event::create($this->_contactId);
+ $this->_contactId = $this->individualCreate();
+ $event = $this->eventCreate();
+ $this->_eventId = $event['id'];
}
public function tearDown() {