You are here

public function CountWidgetOrderProcessorTest::testDefaultConfiguration in Facets 8

Tests configuration.

File

tests/src/Unit/Plugin/processor/CountWidgetOrderProcessorTest.php, line 64

Class

CountWidgetOrderProcessorTest
Unit test for processor.

Namespace

Drupal\Tests\facets\Unit\Plugin\processor

Code

public function testDefaultConfiguration() {
  $config = $this->processor
    ->defaultConfiguration();
  $this
    ->assertEquals([
    'sort' => 'DESC',
  ], $config);
}