public function PathAliasTest::testDefaultConfiguration in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 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 112
Class
- PathAliasTest
- Tests the path_alias plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function testDefaultConfiguration() {
$plugin = $this
->getPlugin();
$this
->assertEquals([
'settings' => [
'failover' => 'search',
],
], $plugin
->defaultConfiguration());
}