From 3a21ace89d83365e0d65a83f9229eb05030d77dd Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 3 Jul 2020 11:57:58 +1000 Subject: [PATCH] Ensure that we are testing on multiple domains Co-authored-by: colemanw --- tests/phpunit/CRM/Core/I18n/SchemaTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CRM/Core/I18n/SchemaTest.php b/tests/phpunit/CRM/Core/I18n/SchemaTest.php index d3a756e41d..3eae6703f0 100644 --- 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 -- 2.25.1