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