- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n/loadTextdomainJustInTime.php
r39330 r42343 12 12 13 13 public static function wpSetUpBeforeClass( $factory ) { 14 self::$user_id = $factory->user->create( array( 15 'role' => 'administrator', 16 'locale' => 'de_DE', 17 ) ); 14 self::$user_id = $factory->user->create( 15 array( 16 'role' => 'administrator', 17 'locale' => 'de_DE', 18 ) 19 ); 18 20 } 19 21 … … 21 23 parent::setUp(); 22 24 23 $this->theme_root = DIR_TESTDATA . '/themedir1';25 $this->theme_root = DIR_TESTDATA . '/themedir1'; 24 26 $this->orig_theme_dir = $GLOBALS['wp_theme_directories']; 25 $this->locale_count = 0;27 $this->locale_count = 0; 26 28 27 29 // /themes is necessary as theme.php functions assume /themes is the root if there is only one root.
Note: See TracChangeset
for help on using the changeset viewer.