core/modules/comment/src/Tests/CommentNonNodeTest.php | 4 ++-- .../content_translation/src/Tests/ContentTranslationSyncImageTest.php | 2 +- .../entity_reference/src/Tests/EntityReferenceIntegrationTest.php | 2 +- core/modules/field_ui/src/Tests/FieldUIRouteTest.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/modules/comment/src/Tests/CommentNonNodeTest.php b/core/modules/comment/src/Tests/CommentNonNodeTest.php index d099624..6321d0d 100644 --- a/core/modules/comment/src/Tests/CommentNonNodeTest.php +++ b/core/modules/comment/src/Tests/CommentNonNodeTest.php @@ -474,7 +474,7 @@ public function testsNonIntegerIdEntities() { )); $this->drupalLogin($limited_user); // Visit the Field UI field add page. - $this->drupalGet('entity_test_string_id/structure/entity_test/fields/add-field'); + $this->drupalGet('admin/structure/entity_test_string_id/entity_test/fields/add-field'); // Ensure field isn't shown for string IDs. $this->assertNoOption('edit-new-storage-type', 'comment'); // Ensure a core field type shown. @@ -486,7 +486,7 @@ public function testsNonIntegerIdEntities() { 'administer entity_test_no_id fields', ))); // Visit the Field UI field add page. - $this->drupalGet('entity_test_no_id/structure/entity_test/fields/add-field'); + $this->drupalGet('admin/structure/entity_test_no_id/entity_test/fields/add-field'); // Ensure field isn't shown for empty IDs. $this->assertNoOption('edit-new-storage-type', 'comment'); // Ensure a core field type shown. diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php index 606b5b3..a298c72 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php @@ -87,7 +87,7 @@ protected function getEditorPermissions() { function testImageFieldSync() { // Check that the alt and title fields are enabled for the image field. $this->drupalLogin($this->editor); - $this->drupalGet('entity_test_mul/structure/' . $this->entityTypeId . '/fields/' . $this->entityTypeId . '.' . $this->entityTypeId . '.' . $this->fieldName); + $this->drupalGet('admin/structure/entity_test_mul/' . $this->entityTypeId . '/fields/' . $this->entityTypeId . '.' . $this->entityTypeId . '.' . $this->fieldName); $this->assertFieldChecked('edit-third-party-settings-content-translation-translation-sync-alt'); $this->assertFieldChecked('edit-third-party-settings-content-translation-translation-sync-title'); $edit = array( diff --git a/core/modules/entity_reference/src/Tests/EntityReferenceIntegrationTest.php b/core/modules/entity_reference/src/Tests/EntityReferenceIntegrationTest.php index c059848..47fae0b 100644 --- a/core/modules/entity_reference/src/Tests/EntityReferenceIntegrationTest.php +++ b/core/modules/entity_reference/src/Tests/EntityReferenceIntegrationTest.php @@ -148,7 +148,7 @@ public function testSupportedEntityTypesAndWidgets() { if ($key == 'content') { $field_edit['settings[handler_settings][target_bundles][' . $referenced_entities[0]->getEntityTypeId() . ']'] = TRUE; } - $this->drupalPostForm($this->entityType . '/structure/' . $this->bundle .'/fields/' . $this->entityType . '.' . $this->bundle . '.' . $this->fieldName, $field_edit, t('Save settings')); + $this->drupalPostForm('admin/structure/' . $this->entityType . '/' . $this->bundle .'/fields/' . $this->entityType . '.' . $this->bundle . '.' . $this->fieldName, $field_edit, t('Save settings')); // Ensure the configuration has the expected dependency on the entity that // is being used a default value. $field = FieldConfig::loadByName($this->entityType, $this->bundle, $this->fieldName); diff --git a/core/modules/field_ui/src/Tests/FieldUIRouteTest.php b/core/modules/field_ui/src/Tests/FieldUIRouteTest.php index 332a87d..8fddfd0 100644 --- a/core/modules/field_ui/src/Tests/FieldUIRouteTest.php +++ b/core/modules/field_ui/src/Tests/FieldUIRouteTest.php @@ -38,7 +38,7 @@ protected function setUp() { * Ensures that entity types with bundles do not break following entity types. */ public function testFieldUIRoutes() { - $this->drupalGet('entity_test_no_id/structure/entity_test/fields'); + $this->drupalGet('admin/structure/entity_test_no_id/entity_test/fields'); $this->assertText('No fields are present yet.'); $this->drupalGet('admin/config/people/accounts/fields');