function UpdatePathTestJavaScriptTest::testJavaScriptLoading

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePathTestJavaScriptTest::testJavaScriptLoading()
  2. 8.9.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePathTestJavaScriptTest::testJavaScriptLoading()
  3. 10 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePathTestJavaScriptTest::testJavaScriptLoading()

Tests JavaScript loading at update.php.

See also

::doPreUpdateTests

File

core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php, line 36

Class

UpdatePathTestJavaScriptTest
Tests the presence of JavaScript at update.php.

Namespace

Drupal\Tests\system\Functional\UpdateSystem

Code

public function testJavaScriptLoading() : void {
    $this->runUpdates();
}

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