<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
require_once 'CiviTest/CiviUnitTestCase.php';
protected $id;
public $DBResetRequired = FALSE;
- function setUp() {
+ public function setUp() {
$this->params = array(
'domain_id' => 1,
'name' => "my mail setting",
*/
public function testGetMailSettingsChainDelete() {
$description = "demonstrates get + delete in the same call";
- $subFile = 'ChainedGetDelete';
- $params = array(
+ $subFile = 'ChainedGetDelete';
+ $params = array(
'title' => "MailSettings title",
'api.MailSettings.delete' => 1,
);
$this->callAPIAndDocument('MailSettings', 'get', $params, __FUNCTION__, __FILE__, $description, $subFile);
$this->assertEquals(0, $this->callAPISuccess('MailSettings', 'getcount', array()));
}
-}
+}