You are here

public function MigrateMessageTest::testMessagesNotTeed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Tests/MigrateMessageTest.php \Drupal\migrate\Tests\MigrateMessageTest::testMessagesNotTeed()

Tests migration interruptions.

File

core/modules/migrate/src/Tests/MigrateMessageTest.php, line 86
Contains \Drupal\migrate\Tests\MigrateMessageTest.

Class

MigrateMessageTest
Test whether idmap messages are sent to the message interface when requested.

Namespace

Drupal\migrate\Tests

Code

public function testMessagesNotTeed() {

  // We don't ask for messages to be teed, so don't expect any.
  $executable = new MigrateExecutable($this->migration, $this);
  $executable
    ->import();
  $this
    ->assertIdentical(count($this->messages), 0);
}