Changeset 57925 for trunk/tests/phpunit/tests/l10n/loadTextdomain.php
- Timestamp:
- 04/04/2024 01:54:12 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n/loadTextdomain.php
r55928 r57925 317 317 $this->assertSame( 0, $override_load_textdomain_callback->get_call_count(), 'Expected override_load_textdomain not to be called.' ); 318 318 } 319 320 /** 321 * @ticket 60888 322 * @covers ::load_plugin_textdomain 323 */ 324 public function test_load_plugin_textdomain_invalid_domain() { 325 $this->assertFalse( load_plugin_textdomain( null ) ); 326 } 327 328 /** 329 * @ticket 60888 330 * @covers ::load_muplugin_textdomain 331 */ 332 public function test_load_muplugin_textdomain_invalid_domain() { 333 $this->assertFalse( load_muplugin_textdomain( null ) ); 334 } 335 336 /** 337 * @ticket 60888 338 * @covers ::load_theme_textdomain 339 */ 340 public function test_load_theme_textdomain_invalid_domain() { 341 $this->assertFalse( load_theme_textdomain( null ) ); 342 } 343 344 /** 345 * @ticket 60888 346 * @covers ::load_textdomain 347 */ 348 public function test_load_textdomain_invalid_domain() { 349 $this->assertFalse( load_textdomain( null, DIR_TESTDATA . '/pomo/thisfiledoesnotexist.mo' ) ); 350 } 319 351 }
Note: See TracChangeset
for help on using the changeset viewer.