+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
*/
-require_once 'CiviTest/CiviUnitTestCase.php';
-
-
/**
* Test APIv3 civicrm_setting_* functions
*
/**
* Class contains api test cases for civicrm settings
*
+ * @group headless
*/
class api_v3_SettingTest extends CiviUnitTestCase {
public function testCreateInvalidURLSettings() {
$params = array(
'domain_id' => $this->_domainID2,
- 'userFrameworkResourceURL' => 'dfhkd*hfd',
+ 'userFrameworkResourceURL' => 'dfhkd hfd',
);
$result = $this->callAPIFailure('setting', 'create', $params);
$params = array(