diff --git a/tests/phpunit/tests/formatting/ConvertChars.php b/tests/phpunit/tests/formatting/ConvertChars.php
deleted file mode 100644
index a134572026..0000000000
--- a/tests/phpunit/tests/formatting/ConvertChars.php
+++ /dev/null
@@ -1,40 +0,0 @@
-assertEquals($output, convert_chars($input));
- }
-
- /**
- * @ticket 20503
- */
- function test_replaces_latin_letter_z_with_caron() {
- $input = "";
- $output = "Žž";
- $this->assertEquals( $output, convert_chars( $input ) );
- }
-
- function test_converts_html_br_and_hr_to_the_xhtml_self_closing_variety() {
- $inputs = array(
- "abc
lol
" => "abc
lol
",
- "
ho ho
" => "
ho ho
",
- "
" => "
"
- );
- foreach ($inputs as $input => $expected) {
- $this->assertEquals($expected, convert_chars($input));
- }
- }
-
- function test_escapes_lone_ampersands() {
- $this->assertEquals("at&t", convert_chars("at&t"));
- }
-
- function test_removes_category_and_title_metadata_tags() {
- $this->assertEquals("", convert_chars("abc
a"));
- }
-}
diff --git a/tests/phpunit/tests/formatting/ConvertInvalidEntries.php b/tests/phpunit/tests/formatting/ConvertInvalidEntries.php
new file mode 100644
index 0000000000..0bf2437ef9
--- /dev/null
+++ b/tests/phpunit/tests/formatting/ConvertInvalidEntries.php
@@ -0,0 +1,25 @@
+assertEquals( $output, convert_invalid_entities( $input ) );
+ }
+
+ /**
+ * @ticket 20503
+ */
+ function test_replaces_latin_letter_z_with_caron() {
+ $input = "";
+ $output = "Žž";
+ $this->assertEquals( $output, convert_invalid_entities( $input ) );
+ }
+
+ function test_escapes_lone_ampersands() {
+ $this->assertEquals("at&t", convert_chars("at&t"));
+ }
+}