summaryrefslogtreecommitdiffstats
path: root/tests/src/FunctionalJavascript/LinkitDialogTest.php
diff options
context:
space:
mode:
authorsam2016-08-22 18:17:19 +0200
committerEmil Stjerneman2016-08-22 18:17:19 +0200
commitc689cd001eb6b64f89414bd138c7cd94be36cecf (patch)
tree8c06c0447aa367b0ab36279bef056503851114b9 /tests/src/FunctionalJavascript/LinkitDialogTest.php
parent01b39f632949b48b2cf5706a3893d48a33a4a8d0 (diff)
Issue #2786049 by Sam152, anon: Make entity URL substitutions pluggable to support a wider variety of use cases
Diffstat (limited to 'tests/src/FunctionalJavascript/LinkitDialogTest.php')
-rw-r--r--tests/src/FunctionalJavascript/LinkitDialogTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/FunctionalJavascript/LinkitDialogTest.php b/tests/src/FunctionalJavascript/LinkitDialogTest.php
index df0f528..a77a60d 100644
--- a/tests/src/FunctionalJavascript/LinkitDialogTest.php
+++ b/tests/src/FunctionalJavascript/LinkitDialogTest.php
@@ -170,7 +170,7 @@ class LinkitDialogTest extends JavascriptTestBase {
$page->find('xpath', '(//li[contains(@class, "linkit-result") and contains(@class, "ui-menu-item")])[1]')->click();
// Make sure the href field is populated with the node uri.
- $this->assertEquals('entity:' . $this->demoEntity->getEntityTypeId() . '/' . $this->demoEntity->id(), $input_field->getValue(), 'The href field is populated with the node uri');
+ $this->assertEquals('entity:canonical/' . $this->demoEntity->getEntityTypeId() . '/' . $this->demoEntity->id(), $input_field->getValue(), 'The href field is populated with the node uri');
// Make sure the link information is populated.
$javascript = "(function (){ return jQuery('.linkit-link-information > span').text(); })()";