AssetOptimizationTestUmami.php

Same filename in other branches
  1. 11.x core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php

Namespace

Drupal\FunctionalTests\Asset

File

core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php

View source
<?php

declare (strict_types=1);
namespace Drupal\FunctionalTests\Asset;


/**
 * Tests asset aggregation with the Umami install profile.
 *
 * Umami includes several core modules as well as the Claro theme, this
 * results in a more complex asset dependency tree to test than the testing
 * profile.
 *
 * @group asset
 */
class AssetOptimizationTestUmami extends AssetOptimizationTest {
    
    /**
     * {@inheritdoc}
     */
    protected $profile = 'demo_umami';
    
    /**
     * {@inheritdoc}
     */
    protected function requestPage() : void {
        $user = $this->createUser([], NULL, TRUE);
        $this->drupalLogin($user);
        $this->drupalGet('node/add/article');
    }

}

Classes

Title Deprecated Summary
AssetOptimizationTestUmami Tests asset aggregation with the Umami install profile.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.