public function RptMapWidgetTest::testDefaultConfiguration in Search API Location 8
Tests default configuration.
Overrides WidgetTestBase::testDefaultConfiguration
File
- modules/
facets_map_widget/ tests/ src/ Unit/ Plugin/ widget/ RptMapWidgetTest.php, line 34
Class
- RptMapWidgetTest
- Unit test for RptMapwidget.
Namespace
Drupal\Tests\facets_map_widget\Unit\Plugin\widgetCode
public function testDefaultConfiguration() {
$default_config = $this->widget
->defaultConfiguration();
$expected = [
'show_numbers' => FALSE,
];
$this
->assertEquals($expected, $default_config);
}