You are here

public function ExternalTest::testDefaultConfiguration in Freelinking 8.3

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

Asserts that default configuration is expected.

File

tests/src/Unit/Plugin/freelinking/ExternalTest.php, line 85

Class

ExternalTest
Tests the external plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

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