diff -u b/core/modules/taxonomy/src/Tests/TermTest.php b/core/modules/taxonomy/src/Tests/TermTest.php --- b/core/modules/taxonomy/src/Tests/TermTest.php +++ b/core/modules/taxonomy/src/Tests/TermTest.php @@ -81,7 +81,7 @@ /** * Test terms in a single and multiple hierarchy. */ - function ptestTaxonomyTermHierarchy() { + function testTaxonomyTermHierarchy() { // Create two taxonomy terms. $term1 = $this->createTerm($this->vocabulary); $term2 = $this->createTerm($this->vocabulary); @@ -121,7 +121,7 @@ /** * Tests that many terms with parents show on each page */ - function ptestTaxonomyTermChildTerms() { + function testTaxonomyTermChildTerms() { // Set limit to 10 terms per page. Set variable to 9 so 10 terms appear. $this->config('taxonomy.settings')->set('terms_per_page_admin', '9')->save(); $term1 = $this->createTerm($this->vocabulary); @@ -176,7 +176,7 @@ * * Save & edit a node and assert that taxonomy terms are saved/loaded properly. */ - function ptestTaxonomyNode() { + function testTaxonomyNode() { // Create two taxonomy terms. $term1 = $this->createTerm($this->vocabulary); $term2 = $this->createTerm($this->vocabulary); @@ -215,7 +215,7 @@ /** * Test term creation with a free-tagging vocabulary from the node form. */ - function ptestNodeTermCreationAndDeletion() { + function testNodeTermCreationAndDeletion() { // Enable tags in the vocabulary. $field = $this->field; entity_get_form_display($field->getTargetEntityTypeId(), $field->getTargetBundle(), 'default') @@ -303,7 +303,7 @@ /** * Save, edit and delete a term using the user interface. */ - function ptestTermInterface() { + function testTermInterface() { \Drupal::service('module_installer')->install(array('views')); $edit = array( 'name[0][value]' => $this->randomMachineName(12), @@ -380,7 +380,7 @@ /** * Save, edit and delete a term using the user interface. */ - function ptestTermReorder() { + function testTermReorder() { $this->createTerm($this->vocabulary); $this->createTerm($this->vocabulary); $this->createTerm($this->vocabulary); @@ -437,7 +437,7 @@ /** * Test saving a term with multiple parents through the UI. */ - function ptestTermMultipleParentsInterface() { + function testTermMultipleParentsInterface() { // Add a new term to the vocabulary so that we can have multiple parents. $parent = $this->createTerm($this->vocabulary); @@ -526,7 +526,7 @@ /** * Tests that editing and saving a node with no changes works correctly. */ - function ptestReSavingTags() { + function testReSavingTags() { // Enable tags in the vocabulary. $field = $this->field; entity_get_form_display($field->getTargetEntityTypeId(), $field->getTargetBundle(), 'default')