You are here

protected function WebTestBase::restoreBatch in SimpleTest 8.3

Restore the original batch.

See also

::setBatch

1 call to WebTestBase::restoreBatch()
WebTestBase::setUp in src/WebTestBase.php
Sets up a Drupal site for running functional and integration tests.

File

src/WebTestBase.php, line 428

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

protected function restoreBatch() {

  // Restore the original Simpletest batch.
  $batch =& batch_get();
  $batch = $this->originalBatch;
}