diff --git a/tests/phpunit/tests/formatting/EscUrl.php b/tests/phpunit/tests/formatting/EscUrl.php
index 478d385fc7..9b97a92df8 100644
--- a/tests/phpunit/tests/formatting/EscUrl.php
+++ b/tests/phpunit/tests/formatting/EscUrl.php
@@ -62,18 +62,6 @@ class Tests_Formatting_EscUrl extends WP_UnitTestCase {
$this->assertEquals( 'feed:http://wordpress.org/feed/', esc_url( 'feed:http://wordpress.org/feed/' ) );
}
- /**
- * @ticket 16859
- */
- function test_square_brackets() {
- $this->assertEquals( 'http://example.com/?foo%5Bbar%5D=baz', esc_url( 'http://example.com/?foo[bar]=baz' ) );
- $this->assertEquals( 'http://example.com/?baz=bar&foo%5Bbar%5D=baz', esc_url( 'http://example.com/?baz=bar&foo[bar]=baz' ) );
- //IPv6 addresses in urls - RFC2732
- $this->assertEquals( 'http://[::FFFF::127.0.0.1]', esc_url( 'http://[::FFFF::127.0.0.1]' ) );
- $this->assertEquals( 'http://[::127.0.0.1]', esc_url( 'http://[::127.0.0.1]' ) );
- $this->assertEquals( 'http://[::DEAD:BEEF:DEAD:BEEF:DEAD:BEEF:DEAD:BEEF]', esc_url( 'http://[::DEAD:BEEF:DEAD:BEEF:DEAD:BEEF:DEAD:BEEF]' ) );
- }
-
/**
* @ticket 21974
*/
diff --git a/tests/phpunit/tests/formatting/MakeClickable.php b/tests/phpunit/tests/formatting/MakeClickable.php
index ef55b5c0f1..dec5d404b0 100644
--- a/tests/phpunit/tests/formatting/MakeClickable.php
+++ b/tests/phpunit/tests/formatting/MakeClickable.php
@@ -364,23 +364,6 @@ class Tests_Formatting_MakeClickable extends WP_UnitTestCase {
$this->assertEquals( $in, $out );
}
- /**
- * @ticket 16859
- */
- function test_square_brackets() {
- $urls_before = array(
- 'http://example.com/?foo[bar]=baz',
- 'http://example.com/?baz=bar&foo[bar]=baz',
- );
- $urls_expected = array(
- 'http://example.com/?foo%5Bbar%5D=baz',
- 'http://example.com/?baz=bar&foo%5Bbar%5D=baz',
- );
- foreach ($urls_before as $key => $url) {
- $this->assertEquals( $urls_expected[$key], make_clickable( $url ) );
- }
- }
-
/**
* @ticket 19028
*/