You are here

public function PathAliasTest::testDefaultConfiguration in Freelinking 8.3

Same name and namespace in other branches
  1. 4.0.x tests/src/Unit/Plugin/freelinking/PathAliasTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\PathAliasTest::testDefaultConfiguration()

Asserts that defaultConfiguration provides the correct settings.

File

tests/src/Unit/Plugin/freelinking/PathAliasTest.php, line 109

Class

PathAliasTest
Tests the path_alias plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

public function testDefaultConfiguration() {
  $plugin = $this
    ->getPlugin();
  $this
    ->assertEquals([
    'settings' => [
      'failover' => 'search',
    ],
  ], $plugin
    ->defaultConfiguration());
}