function MigrateExecutableMemoryExceededTest::testMemoryNotExceeded
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableMemoryExceededTest::testMemoryNotExceeded()
- 8.9.x core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableMemoryExceededTest::testMemoryNotExceeded()
- 11.x core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableMemoryExceededTest::testMemoryNotExceeded()
Tests memoryExceeded when memory usage is not exceeded.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableMemoryExceededTest.php, line 116
Class
- MigrateExecutableMemoryExceededTest
- Tests the \Drupal\migrate\MigrateExecutable::memoryExceeded() method.
Namespace
Drupal\Tests\migrate\UnitCode
public function testMemoryNotExceeded() : void {
$this->runMemoryExceededTest('', FALSE, floor($this->memoryLimit * 0.85) - 1);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.