function UpdatePathTestBaseTest::testSetup

Same name in other branches
  1. 10 core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php \Drupal\FunctionalTests\Update\UpdatePathTestBaseTest::testSetup()

Tests that setup is done correctly.

File

core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php, line 182

Class

UpdatePathTestBaseTest
Tests the update path base class.

Namespace

Drupal\FunctionalTests\Update

Code

public function testSetup() : void {
    $this->assertCount(3, $this->databaseDumpFiles);
    $this->assertSame(1, Settings::get('entity_update_batch_size'));
}

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