projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7f7fae0
)
domain_version seemed to be mandatory when creating a domain.
author
Johan Vervloet
<johanv@johanv.org>
Sun, 25 Oct 2015 19:57:06 +0000
(20:57 +0100)
committer
Johan Vervloet
<johanv@johanv.org>
Sun, 25 Oct 2015 19:57:06 +0000
(20:57 +0100)
So if unit tests create a domain, there should be a domain_version.
tests/phpunit/api/v3/SettingTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/SettingTest.php
b/tests/phpunit/api/v3/SettingTest.php
index c1335ddb3238c358be1204b70574bc70b4a4eb45..7893ceda6e4a6180c54b168e05617c10e60072be 100644
(file)
--- a/
tests/phpunit/api/v3/SettingTest.php
+++ b/
tests/phpunit/api/v3/SettingTest.php
@@
-52,6
+52,7
@@
class api_v3_SettingTest extends CiviUnitTestCase {
parent::setUp();
$params = array(
'name' => 'Default Domain Name',
+ 'domain_version' => '4.7',
);
$result = $this->callAPISuccess('domain', 'get', $params);
if (empty($result['id'])) {
@@
-515,6
+516,7
@@
class api_v3_SettingTest extends CiviUnitTestCase {
public function testDefaults() {
$domparams = array(
'name' => 'B Team Domain',
+ 'domain_version' => '4.7',
);
$dom = $this->callAPISuccess('domain', 'create', $domparams);
$params = array(