function AssetOptimizationTest::requestPage

Same name in other branches
  1. 10 core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php \Drupal\FunctionalTests\Asset\AssetOptimizationTest::requestPage()

Creates a user and requests a page.

1 call to AssetOptimizationTest::requestPage()
AssetOptimizationTest::doTestAggregation in core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php
Helper to test aggregate file URLs.
1 method overrides AssetOptimizationTest::requestPage()
AssetOptimizationTestUmami::requestPage in core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php
Creates a user and requests a page.

File

core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php, line 64

Class

AssetOptimizationTest
Tests asset aggregation.

Namespace

Drupal\FunctionalTests\Asset

Code

protected function requestPage() : void {
    $user = $this->createUser();
    $this->drupalLogin($user);
    $this->drupalGet('');
}

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