You are here

public function ActiveWidgetOrderProcessorTest::testDefaultConfiguration in Facets 8

Tests configuration.

File

tests/src/Unit/Plugin/processor/ActiveWidgetOrderProcessorTest.php, line 79

Class

ActiveWidgetOrderProcessorTest
Unit test for processor.

Namespace

Drupal\Tests\facets\Unit\Plugin\processor

Code

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