Skip to content
Snippets Groups Projects
Verified Commit 9f053f65 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3469823 by catch: TaxonomyTestTrait methods should be protected

(cherry picked from commit b81032f5)
parent f0b14e94
No related branches found
No related tags found
3 merge requests!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #265663 passed
......@@ -24,7 +24,7 @@ trait TaxonomyTestTrait {
* @return \Drupal\taxonomy\VocabularyInterface
* A vocabulary used for testing.
*/
public function createVocabulary(array $values = []) {
protected function createVocabulary(array $values = []) {
$values += [
'name' => $this->randomMachineName(),
'description' => $this->randomMachineName(),
......@@ -49,7 +49,7 @@ public function createVocabulary(array $values = []) {
* @return \Drupal\taxonomy\TermInterface
* The new taxonomy term object.
*/
public function createTerm(VocabularyInterface $vocabulary, $values = []) {
protected function createTerm(VocabularyInterface $vocabulary, $values = []) {
$term = Term::create($values + [
'name' => $this->randomMachineName(),
'description' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment