diff --git a/core/modules/text/tests/src/Functional/TextFieldTest.php b/core/modules/text/tests/src/Functional/TextFieldTest.php index 85903213b6..1b20478045 100644 --- a/core/modules/text/tests/src/Functional/TextFieldTest.php +++ b/core/modules/text/tests/src/Functional/TextFieldTest.php @@ -183,7 +183,7 @@ public function testTextfieldWidgetsAllowedFormats() { ->getStorage('filter_format'); /** @var \Drupal\filter\Entity\FilterFormat $format1 */ $format1 = $filter_format_storage->load($edit['format']); - $format1Id = $format1->id(); + $format1_id = $format1->id(); // Create a second text format. $edit = [ @@ -241,7 +241,6 @@ public function testTextfieldWidgetsAllowedFormats() { $this->drupalLogin($this->adminUser); // Change field to allow only one format. $path = "entity_test/structure/entity_test/fields/entity_test.entity_test.$field_name"; - //$this->drupalGet('entity_test/structure/entity_test/fields/add-field'); $this->drupalGet($path); $this->submitForm(["settings[allowed_formats][$format1Id]" => $format1Id], 'Save settings'); $this->drupalGet($path);