function MigrateTestBase::startCollectingMessages
Same name and namespace in other branches
- 8.9.x core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::startCollectingMessages()
- 10 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::startCollectingMessages()
- 11.x core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::startCollectingMessages()
Start collecting messages and erase previous messages.
6 calls to MigrateTestBase::startCollectingMessages()
- MigrateBlockedIpsTest::testBlockedIps in core/
modules/ ban/ tests/ src/ Kernel/ Migrate/ d7/ MigrateBlockedIpsTest.php - Tests migration of blocked IPs.
- MigrateCommentTypeTest::testNoCommentTypeMigration in core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d6/ MigrateCommentTypeTest.php - Tests comment type migration without node or / and comment on source.
- MigrateCommentTypeTest::testNoCommentTypeMigration in core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentTypeTest.php - Tests comment type migration without node or / and comment on source.
- MigrateDependenciesTest::testAggregatorMigrateDependencies in core/
modules/ aggregator/ tests/ src/ Kernel/ Migrate/ d6/ MigrateDependenciesTest.php - Tests dependencies on the migration of aggregator feeds & items.
- MigrateImageCacheTest::testInvalidCropValues in core/
modules/ image/ tests/ src/ Kernel/ Migrate/ d6/ MigrateImageCacheTest.php - Tests that missing action's causes failures.
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php, line 213
Class
- MigrateTestBase
- Creates abstract base class for migration tests.
Namespace
Drupal\Tests\migrate\KernelCode
public function startCollectingMessages() {
$this->collectMessages = TRUE;
$this->migrateMessages = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.