diff --git a/src/Tests/ConfigUITest.php b/src/Tests/ConfigUITest.php index 72743ad..3a17a32 100644 --- a/src/Tests/ConfigUITest.php +++ b/src/Tests/ConfigUITest.php @@ -130,7 +130,7 @@ class ConfigUITest extends WebTestBase { // Navigate to edit. $this->clickLink('Edit'); - $this->assertUrl('/admin/config/content/entity_browser/test_entity_browser/general'); + $this->assertUrl('/admin/config/content/entity_browser/test_entity_browser'); $this->assertFieldById('edit-label', 'Test entity browser', 'Correct label found.'); $this->assertText('test_entity_browser', 'Correct id found.'); $this->assertOptionSelected('edit-display', 'iframe', 'Correct display selected.'); @@ -157,7 +157,7 @@ class ConfigUITest extends WebTestBase { $this->drupalPostForm(NULL,[], 'Finish'); $this->drupalLogout(); - $this->drupalGet('/admin/config/content/entity_browser/test_entity_browser/general'); + $this->drupalGet('/admin/config/content/entity_browser/test_entity_browser'); $this->assertResponse(403, "Anonymous user can't access entity browser edit form."); $this->drupalLogin($this->adminUser);