function JsonApiSpecTest::testIsValidCustomQueryParameter
Provides test cases.
@legacy-covers ::isValidCustomQueryParameter @legacy-covers ::isValidMemberName
Attributes
#[DataProvider('providerTestIsValidCustomQueryParameter')]
File
-
core/
modules/ jsonapi/ tests/ src/ Unit/ JsonApiSpecTest.php, line 109
Class
Namespace
Drupal\Tests\jsonapi\UnitCode
public function testIsValidCustomQueryParameter($custom_query_parameter, $expected) : void {
$this->assertSame($expected, JsonApiSpec::isValidCustomQueryParameter($custom_query_parameter));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.