public function ServiceControllerTest::parameterDataProvider in CAS 8
Same name and namespace in other branches
- 2.x tests/src/Unit/Controller/ServiceControllerTest.php \Drupal\Tests\cas\Unit\Controller\ServiceControllerTest::parameterDataProvider()
Provides different query string params for tests.
We want most test cases to behave accordingly for the matrix of query string parameters that may be present on the request. This provider will turn those params on or off.
File
- tests/
src/ Unit/ Controller/ ServiceControllerTest.php, line 553
Class
- ServiceControllerTest
- ServiceController unit tests.
Namespace
Drupal\Tests\cas\Unit\ControllerCode
public function parameterDataProvider() {
return [
// "returnto" not set.
[
FALSE,
],
// "returnto" set.
[
TRUE,
],
];
}