aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Tilson <jrtilson@gmail.com>2013-04-29 14:06:18 -0400
committerJeff Tilson <jrtilson@gmail.com>2013-04-29 14:06:18 -0400
commit003439fd46cb5e0dedfabf6e49110b3bdffbefe9 (patch)
tree92db688f4ea4644bbe1246874732dcb6122f6146
parentcd7922c58f3f2d04b8ca4bcf336ecda2787c821e (diff)
downloadelgg-003439fd46cb5e0dedfabf6e49110b3bdffbefe9.tar.gz
elgg-003439fd46cb5e0dedfabf6e49110b3bdffbefe9.tar.bz2
Including internet archive url test in existing test_parse_url function
-rw-r--r--engine/tests/regression/trac_bugs.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/engine/tests/regression/trac_bugs.php b/engine/tests/regression/trac_bugs.php
index b791dcad3..cb3f20421 100644
--- a/engine/tests/regression/trac_bugs.php
+++ b/engine/tests/regression/trac_bugs.php
@@ -282,19 +282,12 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
'ssl <a href="https://example.org/" rel="nofollow">https:/<wbr />/<wbr />example.org/<wbr /></a> test',
'ftp ftp://example.org/ test' =>
'ftp <a href="ftp://example.org/" rel="nofollow">ftp:/<wbr />/<wbr />example.org/<wbr /></a> test',
+ '<a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>' =>
+ '<a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>'
);
foreach ($cases as $input => $output) {
$this->assertEqual($output, parse_urls($input));
}
}
-
- /**
- * Test #2057 -- parse_urls()
- * https://github.com/Elgg/Elgg/issues/2057
- */
- public function test_archive_url() {
- $input = '<a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>';
- $this->assertEqual($input, parse_urls($input));
- }
}