Mercurial > hg > isophonics-drupal-site
diff core/modules/node/tests/src/Functional/PagePreviewTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
line wrap: on
line diff
--- a/core/modules/node/tests/src/Functional/PagePreviewTest.php Thu Feb 28 13:21:36 2019 +0000 +++ b/core/modules/node/tests/src/Functional/PagePreviewTest.php Thu May 09 15:33:08 2019 +0100 @@ -473,7 +473,7 @@ $edit2 = [$title_key => 'Another page title']; $this->drupalPostForm('node/' . $node->id() . '/edit', $edit2, t('Preview')); - $this->assertUrl(\Drupal::url('entity.node.preview', ['node_preview' => $node->uuid(), 'view_mode_id' => 'full'], ['absolute' => TRUE])); + $this->assertUrl(Url::fromRoute('entity.node.preview', ['node_preview' => $node->uuid(), 'view_mode_id' => 'full'], ['absolute' => TRUE])->toString()); $this->assertText($edit2[$title_key]); }