You are here

public function MigrateTestBase::startCollectingMessages in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::startCollectingMessages()
  2. 9 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::startCollectingMessages()

Start collecting messages and erase previous messages.

2 calls to MigrateTestBase::startCollectingMessages()
MigrateImageCacheTest::testInvalidCropValues in core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
Tests that missing action's causes failures.
MigrateImageCacheTest::testMissingEffectPlugin in core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
Tests that missing actions causes failures.

File

core/modules/migrate/tests/src/Kernel/MigrateTestBase.php, line 212

Class

MigrateTestBase
Creates abstract base class for migration tests.

Namespace

Drupal\Tests\migrate\Kernel

Code

public function startCollectingMessages() {
  $this->collectMessages = TRUE;
  $this->migrateMessages = [];
}