mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-25 15:54:26 +00:00
Tests: Add test for wp_get_installed_translations().
Introduces language files in /tests/phpunit/data/language. Each file includes the header and 5 translations. Props realloc for initial patch. Fixes #35284. git-svn-id: https://develop.svn.wordpress.org/trunk@36563 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -26,6 +26,8 @@ require_once $config_file_path;
|
||||
define( 'WP_TESTS_TABLE_PREFIX', $table_prefix );
|
||||
define( 'DIR_TESTDATA', dirname( __FILE__ ) . '/../data' );
|
||||
|
||||
define( 'WP_LANG_DIR', DIR_TESTDATA . '/languages' );
|
||||
|
||||
if ( ! defined( 'WP_TESTS_FORCE_KNOWN_BUGS' ) )
|
||||
define( 'WP_TESTS_FORCE_KNOWN_BUGS', false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user