You are here

public function RangeSliderWidgetTest::testGetQueryType in Facets 8

Tests get query type.

Overrides SliderWidgetTest::testGetQueryType

File

modules/facets_range_widget/tests/src/Unit/Plugin/widget/RangeSliderWidgetTest.php, line 25

Class

RangeSliderWidgetTest
Unit test for widget.

Namespace

Drupal\Tests\facets_range_widget\Unit\Plugin\widget

Code

public function testGetQueryType() {
  $result = $this->widget
    ->getQueryType($this->queryTypes);
  $this
    ->assertEquals('range', $result);
}