You are here

NumericSorterTest.php in Views XML Backend 8

File

tests/src/Unit/Sorter/NumericSorterTest.php
View source
<?php

namespace Drupal\Tests\views_xml_backend\Unit\Sorter;

use Drupal\views_xml_backend\Sorter\NumericSorter;

/**
 * @coversDefaultClass \Drupal\Tests\views_xml_backend\Unit\Sorter\NumericSorterTest
 * @group views_xml_backend
 */
class NumericSorterTest extends StringSorterTest {
  protected function getSorter($field, $direction) {
    return new NumericSorter($field, $direction);
  }

}

Classes

Namesort descending Description
NumericSorterTest @coversDefaultClass \Drupal\Tests\views_xml_backend\Unit\Sorter\NumericSorterTest @group views_xml_backend