You are here

public function SliderWidgetTest::testGetQueryType in Facets 8

Tests get query type.

Overrides WidgetTestBase::testGetQueryType

1 method overrides SliderWidgetTest::testGetQueryType()
RangeSliderWidgetTest::testGetQueryType in modules/facets_range_widget/tests/src/Unit/Plugin/widget/RangeSliderWidgetTest.php
Tests get query type.

File

modules/facets_range_widget/tests/src/Unit/Plugin/widget/SliderWidgetTest.php, line 32

Class

SliderWidgetTest
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(NULL, $result);
}