Documentation

LocalizedDataTest extends CiviEndToEndTestCase
in package

Class LocalizedDataTest

Tags
group

e2e

Table of Contents

Methods

setUpBeforeClass()  : void
testLocalizedData()  : void
Smoke test to check that "civicrm_data*.mysql" files contain translated strings.
getRenderedSql()  : mixed

Methods

testLocalizedData()

Smoke test to check that "civicrm_data*.mysql" files contain translated strings.

public testLocalizedData() : void

Note: As currently written, this test relies on the output of setup.sh/GenCode. Consequently, if you're running locally while iterating on the code, you may find the following command helps with your dev-test loop:

$ env CIVICRM_LOCALES=en_US,fr_FR,de_DE ./bin/setup.sh -g
&& phpunit6 tests/phpunit/E2E/Core/LocalizedDataTest.php

getRenderedSql()

private getRenderedSql(mixed $locale) : mixed
Parameters
$locale : mixed

        
On this page

Search results