You are here

public function NodeTitleTest::testDefaultConfiguration in Freelinking 4.0.x

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

Assert the default configuration.

File

tests/src/Unit/Plugin/freelinking/NodeTitleTest.php, line 97

Class

NodeTitleTest
Tests the nodetitle plugin behavior.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

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