projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d78a98
)
Ensure that we are testing on multiple domains
author
Seamus Lee
<seamuslee001@gmail.com>
Fri, 3 Jul 2020 01:57:58 +0000
(11:57 +1000)
committer
GitHub
<noreply@github.com>
Fri, 3 Jul 2020 01:57:58 +0000
(11:57 +1000)
Co-authored-by: colemanw <coleman@civicrm.org>
tests/phpunit/CRM/Core/I18n/SchemaTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/CRM/Core/I18n/SchemaTest.php
b/tests/phpunit/CRM/Core/I18n/SchemaTest.php
index d3a756e41dcc1cb826fb5c11a3f3534cd3a03b10..3eae6703f0fd5e82296b33c8d9c2af4579d7e992 100644
(file)
--- a/
tests/phpunit/CRM/Core/I18n/SchemaTest.php
+++ b/
tests/phpunit/CRM/Core/I18n/SchemaTest.php
@@
-45,6
+45,7
@@
class CRM_Core_I18n_SchemaTest extends CiviUnitTestCase {
public function testI18nSchemaRewrite($table, $expectedRewrite) {
CRM_Core_I18n_Schema::makeMultilingual('en_US');
$domains = $this->callAPISuccess('Domain', 'get')['values'];
+ $this->assertGreaterThan(1, count($domains));
foreach ($domains as $domain) {
// If the DB is multilingual the locales value must be not-null for all domains
// to ensure the db can be accessed (I suspect it must be the same for all locales but