updated core to 8.6.3
This commit is contained in:
+2
-1
@@ -145,7 +145,8 @@ class QuickEditIntegrationTest extends SettingsTrayTestBase {
|
||||
$href = array_search('Quick edit', $link_labels);
|
||||
$this->assertEquals('', $href);
|
||||
$href = array_search('Quick edit settings', $link_labels);
|
||||
$this->assertTrue(strstr($href, '/admin/structure/block/manage/custom/settings-tray?destination=user/2') !== FALSE);
|
||||
$destination = (string) $this->loggedInUser->toUrl()->toString();
|
||||
$this->assertTrue(strstr($href, "/admin/structure/block/manage/custom/settings-tray?destination=$destination") !== FALSE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+2
-1
@@ -69,7 +69,8 @@ class SettingsTrayBlockFormTest extends SettingsTrayTestBase {
|
||||
|
||||
$link = $web_assert->waitForElement('css', "$block_selector .contextual-links li a");
|
||||
$this->assertEquals('Quick edit', $link->getHtml(), "'Quick edit' is the first contextual link for the block.");
|
||||
$this->assertContains("/admin/structure/block/manage/$block_id/settings-tray?destination=user/2", $link->getAttribute('href'));
|
||||
$destination = (string) $this->loggedInUser->toUrl()->toString();
|
||||
$this->assertContains("/admin/structure/block/manage/$block_id/settings-tray?destination=$destination", $link->getAttribute('href'));
|
||||
|
||||
if (isset($toolbar_item)) {
|
||||
// Check that you can open a toolbar tray and it will be closed after
|
||||
|
||||
Reference in New Issue
Block a user