Permalink
Browse files

Item14349: Fix the unit tests.

  • Loading branch information...
gac410 committed May 5, 2017
1 parent c48a179 commit 0db156e0cfb1dacd8b14e5aa5e0263fd14f91f91
Showing with 2 additions and 2 deletions.
  1. +2 −2 EditRowPlugin/test/unit/EditRowPlugin/HTML.pm
@@ -66,7 +66,7 @@ HTML
'#' => "erp_TABLE_0"
);
my $expected = <<EXPECTED;
<a name='erp_TABLE_0'></a><a href='$viewurl' title='Edit full table'><button type='button' name='erp_edit_TABLE_0' title='Edit full table' class='erp-edittable'></button></a><br />
<a name='erp_TABLE_0'></a><a class='erp-edittable foswikiButton' href='$viewurl' name='erp_edit_TABLE_0' title='Edit full table'></a><br />
EXPECTED
$this->assert_html_equals( $expected, $1 );
$in =~ s/&quot;1_\d+&quot;/&quot;VERSION&quot;/gs;
@@ -169,7 +169,7 @@ HTML
'#' => "erp_TABLE_0"
);
my $expected = <<EXPECTED;
<a name='erp_TABLE_0'></a><a href='$viewurl' title='Edit full table'><button type="button" name="erp_edit_TABLE_0" title="Edit full table" class="erp-edittable"></button></a><br />
<a name='erp_TABLE_0'></a><a class='erp-edittable foswikiButton' href='$viewurl' name='erp_edit_TABLE_0' title='Edit full table'></a><br />
EXPECTED
$this->assert_html_equals( $expected, $1 );
$in =~ s/&quot;1_\d+&quot;/&quot;VERSION&quot;/gs;

0 comments on commit 0db156e

Please sign in to comment.