Skip to content
Browse files

Tests: Strings - fix broken test cases (& => &)

Commit c59ad8a changed the use of
ampersands in internally generated URLs
  • Loading branch information...
1 parent fb24fb9 commit 787c4d4de7ef465f7d3d9040b445cc947b8ccd61 @dregad dregad committed May 23, 2013
Showing with 8 additions and 8 deletions.
  1. +8 −8 tests/Mantis/StringTest.php
View
16 tests/Mantis/StringTest.php
@@ -56,15 +56,15 @@ public function provider()
array( 'abc.php#a', 'abc.php#a'),
array( 'abc.php?abc=def', 'abc.php?abc=def'),
array( 'abc.php?abc=def#a', 'abc.php?abc=def#a'),
- array( 'abc.php?abc=def&z=xyz', 'abc.php?abc=def&z=xyz'),
- array( 'abc.php?abc=def&z=xyz', 'abc.php?abc=def&z=xyz'),
- array( 'abc.php?abc=def&z=xyz#a', 'abc.php?abc=def&z=xyz#a'),
- array( 'abc.php?abc=def&z=xyz#a', 'abc.php?abc=def&z=xyz#a'),
-# @FIXME array( 'abc.php?abc=def&z=<script>alert("foo")</script>z#a', 'abc.php?abc=def&amp;z=alert%28%22foo%29%22%3cz#a'),
-# @FIXME array( 'abc.php?abc=def&z=z#<script>alert("foo")</script>a', 'abc.php?abc=def&amp;z=z#alert%28%22foo%22%3ca'),
+ array( 'abc.php?abc=def&z=xyz', 'abc.php?abc=def&z=xyz'),
+ array( 'abc.php?abc=def&amp;z=xyz', 'abc.php?abc=def&z=xyz'),
+ array( 'abc.php?abc=def&z=xyz#a', 'abc.php?abc=def&z=xyz#a'),
+ array( 'abc.php?abc=def&amp;z=xyz#a', 'abc.php?abc=def&z=xyz#a'),
+# @FIXME array( 'abc.php?abc=def&z=<script>alert("foo")</script>z#a', 'abc.php?abc=def&z=alert%28%22foo%29%22%3cz#a'),
+# @FIXME array( 'abc.php?abc=def&z=z#<script>alert("foo")</script>a', 'abc.php?abc=def&z=z#alert%28%22foo%22%3ca'),
array( 'plugin.php?page=Source/index', 'plugin.php?page=Source%2Findex'),
- array( 'plugin.php?page=Source/list&id=1', 'plugin.php?page=Source%2Flist&amp;id=1'),
- array( 'plugin.php?page=Source/list&id=1#abc', 'plugin.php?page=Source%2Flist&amp;id=1#abc'),
+ array( 'plugin.php?page=Source/list&id=1', 'plugin.php?page=Source%2Flist&id=1'),
+ array( 'plugin.php?page=Source/list&id=1#abc', 'plugin.php?page=Source%2Flist&id=1#abc'),
);
/* @FIXME

0 comments on commit 787c4d4

Please sign in to comment.
Something went wrong with that request. Please try again.