You are here

public function ArrayWidgetTest::testDefaultConfiguration in Facets 8

Tests default configuration.

Overrides WidgetTestBase::testDefaultConfiguration

File

tests/src/Unit/Plugin/widget/ArrayWidgetTest.php, line 53

Class

ArrayWidgetTest
Unit test for widget.

Namespace

Drupal\Tests\facets\Unit\Plugin\widget

Code

public function testDefaultConfiguration() {
  $default_config = $this->widget
    ->defaultConfiguration();
  $expected = [
    'show_numbers' => FALSE,
  ];
  $this
    ->assertEquals($expected, $default_config);
}