You are here

public function SortTest::badParameterProvider in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/tests/src/Unit/Query/SortTest.php \Drupal\Tests\jsonapi\Unit\Query\SortTest::badParameterProvider()

Data provider for testCreateFromQueryParameterFail.

File

core/modules/jsonapi/tests/src/Unit/Query/SortTest.php, line 94

Class

SortTest
@coversDefaultClass \Drupal\jsonapi\Query\Sort @group jsonapi

Namespace

Drupal\Tests\jsonapi\Unit\Query

Code

public function badParameterProvider() {
  return [
    [
      [
        [
          'lorem',
        ],
      ],
    ],
    [
      '',
    ],
  ];
}