<?php
-
/*
+--------------------------------------------------------------------+
-| CiviCRM version 4.5 |
+| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
protected $id;
public $DBResetRequired = FALSE;
- function setUp() {
+ public function setUp() {
$this->params = array(
'domain_id' => 1,
'name' => "my mail setting",
'is_default' => 1,
);
parent::setUp();
+ $this->useTransaction(TRUE);
}
- function tearDown() {}
-
/**
* Test creation
*/
*/
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->assertEquals(0, $this->callAPISuccess('MailSettings', 'getcount', array()));
}
}
-