You are here

public function PluginsAlterConnectionTest::testConfigurationMerge in Commerce Migrate 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/ubercart/tests/src/Kernel/PluginsAlterConnectionTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\PluginsAlterConnectionTest::testConfigurationMerge()
  2. 3.1.x modules/ubercart/tests/src/Kernel/PluginsAlterConnectionTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\PluginsAlterConnectionTest::testConfigurationMerge()

Tests that a requirements exception when no connection can be made.

File

modules/ubercart/tests/src/Kernel/PluginsAlterConnectionTest.php, line 55

Class

PluginsAlterConnectionTest
Tests that a source plugin is created when there is no fallback connection.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel

Code

public function testConfigurationMerge() {
  $this
    ->assertInstanceOf(Migration::class, $this->pluginManager
    ->createInstance('connection_test'));
}