You are here

public function MigrateExecutableMemoryExceededTest::testMemoryExceededNewBatch in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableMemoryExceededTest::testMemoryExceededNewBatch()

Tests memoryExceeded method when a new batch is needed.

File

core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php, line 101
Contains \Drupal\Tests\migrate\Unit\MigrateExecutableMemoryExceededTest.

Class

MigrateExecutableMemoryExceededTest
Tests the \Drupal\migrate\MigrateExecutable::memoryExceeded() method.

Namespace

Drupal\Tests\migrate\Unit

Code

public function testMemoryExceededNewBatch() {

  // First case try reset and then start new batch.
  $this
    ->runMemoryExceededTest('starting new batch', TRUE);
}