Skip to content
Snippets Groups Projects
Verified Commit 19eee984 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3439909 by SolimanHarkas, vensires: Fix Taxonomy tests that rely on...

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

(cherry picked from commit 0894355a)
parent 48c58073
No related branches found
No related tags found
19 merge requests!12212Issue #3445525 by alexpott, japerry, catch, mglaman, longwave: Add BC layer...,!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!8949Backport .gitlabci.yml changes.,!8738Issue #3424162 by camilledavis, dineshkumarbollu, smustgrave: Claro...,!8704Make greek characters available in ckeditor5,!8597Draft: Issue #3442259 by catch, quietone, dww: Reduce time of Migrate Upgrade tests...,!8533Issue #3446962 by kim.pepper: Remove incorrectly added...,!8517Issue #3443748 by NexusNovaz, smustgrave: Testcase creates false positive,!7930Resolve #3427374 "Taxonomytid viewsargumentdefault plugin",!7445Issue #3440169: When using drupalGet(), provide an associative array for $headers,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #164132 passed
Pipeline: drupal

#164183

    Pipeline: drupal

    #164172

      Pipeline: drupal

      #164153

        +1
        ......@@ -8,7 +8,6 @@
        use Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait;
        use Drupal\Tests\user\Traits\UserCreationTrait;
        use Drupal\Tests\views\Kernel\ViewsKernelTestBase;
        use Drupal\user\Entity\User;
        use Drupal\views\Tests\ViewTestData;
        use Drupal\views\Views;
        use Drupal\taxonomy\Entity\Vocabulary;
        ......@@ -35,14 +34,6 @@ class TaxonomyFieldVidTest extends ViewsKernelTestBase {
        'filter',
        ];
        /**
        * {@inheritdoc}
        *
        * @todo Remove and fix test to not rely on super user.
        * @see https://www.drupal.org/project/drupal/issues/3437620
        */
        protected bool $usesSuperUserAccessPolicy = TRUE;
        /**
        * Views used by this test.
        *
        ......@@ -83,11 +74,7 @@ protected function setUp($import_test_views = TRUE): void {
        $vocabulary2 = $this->createVocabulary(['vid' => 'bbb']);
        $term = $this->createTerm($vocabulary2);
        $this->terms[$term->id()] = $term;
        // Create user 1 and set is as the logged in user, so that the logged in
        // user has the correct permissions to view the vocabulary name.
        $this->adminUser = User::create(['name' => $this->randomString()]);
        $this->adminUser->save();
        $this->adminUser = $this->createUser(['administer taxonomy']);
        $this->container->get('current_user')->setAccount($this->adminUser);
        ViewTestData::createTestViews(static::class, ['taxonomy_test_views']);
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment