Skip to content

Commit

Permalink
Item12888: SubscribePlugin tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Jun 19, 2015
1 parent f109568 commit ab76ca7
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ sub test_SUBSCRIBE_1 {

$subscribe =~ s/data-validation-key=".*" //g;
$this->assert_html_equals( <<HTML, $subscribe );
<span class="foswikiRequiresChangePermission">
<a href="#" class="subscribe_link" data-topic="TemporarySubscribePluginTestsTestWebSubscribePluginTests.TestTopicSubscribePluginTests" data-subscriber="ScumBag" data-remove="0">Subscribe</a>
</span>
HTML
}

Expand All @@ -70,9 +68,7 @@ sub test_SUBSCRIBE_2 {
$subscribe =~ s/data-validation-key=".*" //g;

$this->assert_html_equals( <<HTML, $subscribe );
<span class="foswikiRequiresChangePermission">
<a href="#" class="subscribe_link" data-topic="Kitties.Tobermory" data-subscriber="TobermoryCat" data-remove="1" >Unsubscribe</a>
</span>
HTML
}

Expand All @@ -86,9 +82,7 @@ sub test_SUBSCRIBE_format {
);
$subscribe =~ s/data-validation-key=".*" //g;
$this->assert_html_equals( <<HTML, $subscribe );
<span class='foswikiRequiresChangePermission'>
<a href="#" class="subscribe_link" data-topic="TemporarySubscribePluginTestsTestWebSubscribePluginTests.TestTopicSubscribePluginTests" data-subscriber="ScumBag" data-remove="0" >Subscribe</a>
</span>
HTML
}

Expand All @@ -102,9 +96,7 @@ sub test_SUBSCRIBE_formatunsubscribe {
);
$subscribe =~ s/data-validation-key=".*" //g;
$this->assert_html_equals( <<HTML, $subscribe );
<span class="foswikiRequiresChangePermission">
<a href="#" class="subscribe_link" data-topic="TemporarySubscribePluginTestsTestWebSubscribePluginTests.TestTopicSubscribePluginTests" data-subscriber="ScumBag" data-remove="1" >Unsubscribe</a>
</span>
HTML
}

Expand Down

0 comments on commit ab76ca7

Please sign in to comment.