function MigrateExecutableMemoryExceededTest::testMemoryExceededNewBatch
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableMemoryExceededTest::testMemoryExceededNewBatch()
- 10 core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableMemoryExceededTest::testMemoryExceededNewBatch()
- 11.x 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 103
Class
- MigrateExecutableMemoryExceededTest
- Tests the \Drupal\migrate\MigrateExecutable::memoryExceeded() method.
Namespace
Drupal\Tests\migrate\UnitCode
public function testMemoryExceededNewBatch() {
// First case try reset and then start new batch.
$this->runMemoryExceededTest('starting new batch', TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.