diff --git a/library/HTMLPurifier/Language/classes/en-x-test.php b/library/HTMLPurifier/Language/classes/en-x-test.php
deleted file mode 100644
index 8828f5cd..00000000
--- a/library/HTMLPurifier/Language/classes/en-x-test.php
+++ /dev/null
@@ -1,9 +0,0 @@
- 'HTML Purifier X'
-);
-
-$errorNames = array();
-
-// vim: et sw=4 sts=4
diff --git a/library/HTMLPurifier/Language/messages/en-x-testmini.php b/library/HTMLPurifier/Language/messages/en-x-testmini.php
deleted file mode 100644
index e1e7db50..00000000
--- a/library/HTMLPurifier/Language/messages/en-x-testmini.php
+++ /dev/null
@@ -1,14 +0,0 @@
- 'HTML Purifier XNone'
-);
-
-$errorNames = array();
-
-// vim: et sw=4 sts=4
diff --git a/tests/HTMLPurifier/LanguageFactoryTest.php b/tests/HTMLPurifier/LanguageFactoryTest.php
index e1a73ac7..2cc9a793 100644
--- a/tests/HTMLPurifier/LanguageFactoryTest.php
+++ b/tests/HTMLPurifier/LanguageFactoryTest.php
@@ -29,45 +29,6 @@ class HTMLPurifier_LanguageFactoryTest extends HTMLPurifier_Harness
}
- public function testFallback()
- {
- $this->config->set('Core.Language', 'en-x-test');
- $language = $this->factory->create($this->config, $this->context);
-
- $this->assertIsA($language, 'HTMLPurifier_Language_en_x_test');
- $this->assertIdentical($language->code, 'en-x-test');
-
- $language->load();
-
- // test overloaded message
- $this->assertIdentical($language->getMessage('HTMLPurifier'), 'HTML Purifier X');
-
- // test inherited message
- $this->assertIdentical($language->getMessage('LanguageFactoryTest: Pizza'), 'Pizza');
-
- }
-
- public function testFallbackWithNoClass()
- {
- $this->config->set('Core.Language', 'en-x-testmini');
- $language = $this->factory->create($this->config, $this->context);
- $this->assertIsA($language, 'HTMLPurifier_Language');
- $this->assertIdentical($language->code, 'en-x-testmini');
- $language->load();
- $this->assertIdentical($language->getMessage('HTMLPurifier'), 'HTML Purifier XNone');
- $this->assertIdentical($language->getMessage('LanguageFactoryTest: Pizza'), 'Pizza');
- $this->assertIdentical($language->error, false);
- }
-
- public function testNoSuchLanguage()
- {
- $this->config->set('Core.Language', 'en-x-testnone');
- $language = $this->factory->create($this->config, $this->context);
- $this->assertIsA($language, 'HTMLPurifier_Language');
- $this->assertIdentical($language->code, 'en-x-testnone');
- $this->assertIdentical($language->error, true);
- }
-
}
// vim: et sw=4 sts=4