summaryrefslogtreecommitdiff
path: root/tests/units/Helper/UrlHelperTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-05 21:24:22 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-05 21:24:22 -0500
commitffb8494fec7bacedca8921185d69192bff848cd3 (patch)
tree2a8019ea1558888791431766a02bb65f44b806be /tests/units/Helper/UrlHelperTest.php
parent1bd96e8735b26a4efd2dc430ee9be002c825b04b (diff)
Category label is broken on the board if there's a url in the description
Diffstat (limited to 'tests/units/Helper/UrlHelperTest.php')
-rw-r--r--tests/units/Helper/UrlHelperTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/Helper/UrlHelperTest.php b/tests/units/Helper/UrlHelperTest.php
index 9f26a802..15e01237 100644
--- a/tests/units/Helper/UrlHelperTest.php
+++ b/tests/units/Helper/UrlHelperTest.php
@@ -12,7 +12,7 @@ class UrlHelperTest extends Base
{
$h = new Url($this->container);
$this->assertEquals(
- '<a href="?controller=a&amp;action=b&amp;d=e&amp;plugin=something" class="f" title="g" target="_blank">label</a>',
+ '<a href="?controller=a&amp;action=b&amp;d=e&amp;plugin=something" class="f" title=\'g\' target="_blank">label</a>',
$h->link('label', 'a', 'b', array('d' => 'e', 'plugin' => 'something'), false, 'f', 'g', true)
);
}
@@ -24,7 +24,7 @@ class UrlHelperTest extends Base
$h = new Url($this->container);
$this->assertEquals(
- '<a href="myplugin/something/e" class="f" title="g" target="_blank">label</a>',
+ '<a href="myplugin/something/e" class="f" title=\'g\' target="_blank">label</a>',
$h->link('label', 'a', 'b', array('d' => 'e', 'plugin' => 'something'), false, 'f', 'g', true)
);
}
@@ -33,7 +33,7 @@ class UrlHelperTest extends Base
{
$h = new Url($this->container);
$this->assertEquals(
- '<a href="?controller=a&amp;action=b&amp;d=e" class="f" title="g" target="_blank">label</a>',
+ '<a href="?controller=a&amp;action=b&amp;d=e" class="f" title=\'g\' target="_blank">label</a>',
$h->link('label', 'a', 'b', array('d' => 'e'), false, 'f', 'g', true)
);
}