diff --git a/tests/phpunit/tests/l10n.php b/tests/phpunit/tests/l10n.php index 09ba546179..e4ff0a6c52 100644 --- a/tests/phpunit/tests/l10n.php +++ b/tests/phpunit/tests/l10n.php @@ -16,16 +16,4 @@ class Tests_L10n extends WP_UnitTestCase { $this->assertTrue( unload_textdomain( 'wp-tests-domain' ) ); $this->assertFalse( is_textdomain_loaded( 'wp-tests-domain' ) ); } - - /** - * @ticket 21319 - */ - function test_is_textdomain_loaded_for_no_translations() { - $this->assertFalse( load_textdomain( 'wp-tests-domain', DIR_TESTDATA . '/non-existent-file' ) ); - $this->assertFalse( is_textdomain_loaded( 'wp-tests-domain' ) ); - $this->assertInstanceOf( 'NOOP_Translations', get_translations_for_domain( 'wp-tests-domain' ) ); - // Ensure that we don't confuse NOOP_Translations to be a loaded text domain. - $this->assertFalse( is_textdomain_loaded( 'wp-tests-domain' ) ); - $this->assertFalse( unload_textdomain( 'wp-tests-domain' ) ); - } -} \ No newline at end of file +}