Skip to content
Snippets Groups Projects

Issue #3439909: Fix Taxonomy tests that rely on UID1's super user behavior

Open Issue #3439909: Fix Taxonomy tests that rely on UID1's super user behavior
1 unresolved thread
Open Soliman Harkas requested to merge issue/drupal-3439909:11.x into 11.x
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
83 76 $vocabulary2 = $this->createVocabulary(['vid' => 'bbb']);
84 77 $term = $this->createTerm($vocabulary2);
85 78 $this->terms[$term->id()] = $term;
86
87 // Create user 1 and set is as the logged in user, so that the logged in
88 // user has the correct permissions to view the vocabulary name.
89 $this->adminUser = User::create(['name' => $this->randomString()]);
79 $admin_role = Role::create([
80 'id' => 'admin',
81 'permissions' => ['administer taxonomy'],
  • Soliman Harkas added 1 commit

    added 1 commit

    • 5f877693 - Issue #3439909 by SolimanHarkas, vensires: Use createUser instead of create...

    Compare with previous version

  • Please register or sign in to reply
    Loading