diff core/modules/migrate/tests/src/Kernel/MigrateTestBase.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/migrate/tests/src/Kernel/MigrateTestBase.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/migrate/tests/src/Kernel/MigrateTestBase.php	Thu Feb 28 13:21:36 2019 +0000
@@ -180,6 +180,7 @@
     array_walk($ids, function ($id) use ($manager) {
       // This is possibly a base plugin ID and we want to run all derivatives.
       $instances = $manager->createInstances($id);
+      $this->assertNotEmpty($instances, sprintf("No migrations created for id '%s'.", $id));
       array_walk($instances, [$this, 'executeMigration']);
     });
   }