Skip to content

Commit

Permalink
Item14138: Let test handle short URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Aug 12, 2016
1 parent 2f5393e commit 889ac0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions UnitTestContrib/test/unit/FormattingTests.pm
Expand Up @@ -1992,7 +1992,7 @@ sub _check_rendered_linktext {
my $editpath = Foswiki::Func::getScriptUrlPath( undef, undef, 'edit' );
my $editpathregex = qr/^.*\Q$editpath\E\/([^"]*)/;
my $viewpath = Foswiki::Func::getScriptUrlPath( undef, undef, 'view' );
my $viewpathregex = qr/^.*\Q$viewpath\E\/([^"]*)/;
my $viewpathregex = qr/^.*href="\Q$viewpath\E\/([^"]*)/;
my $html = $this->{test_topicObject}->renderTML("[[$linktext]]");
my $expectedAddress;
my $expectedAddrObj;
Expand Down Expand Up @@ -2063,9 +2063,6 @@ sub test_sanity_link_tests {
sub test_ampersand_querystring {
my ($this) = shift;

$this->expect_failure( 'Test does\'t cater to ShortURL configurations',
using => 'ShortURLs' );

$this->_check_rendered_linktext(
"$this->{test_topic}?q=r&s=t",
{
Expand Down

0 comments on commit 889ac0c

Please sign in to comment.