You are here

public function EntityConditionGroupTest::constructProvider in Drupal 10

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

Data provider for testConstruct.

File

core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php, line 42

Class

EntityConditionGroupTest
@coversDefaultClass \Drupal\jsonapi\Query\EntityConditionGroup @group jsonapi

Namespace

Drupal\Tests\jsonapi\Unit\Query

Code

public function constructProvider() {
  return [
    [
      [
        'conjunction' => 'AND',
        'members' => [],
      ],
    ],
    [
      [
        'conjunction' => 'OR',
        'members' => [],
      ],
    ],
  ];
}