public function SettingsHelperTest::providerTestIsInvalidCredentialDecisionApiUrl in Acquia Lift Connector 8.3
Same name and namespace in other branches
- 8.4 tests/src/Unit/Service/Helper/SettingsHelperTest.php \Drupal\Tests\acquia_lift\Unit\Service\Helper\SettingsHelperTest::providerTestIsInvalidCredentialDecisionApiUrl()
Data provider for testIsInvalidCredentialDecisionApiUrl().
File
- tests/
src/ Unit/ Service/ Helper/ SettingsHelperTest.php, line 132
Class
- SettingsHelperTest
- SettingsHelper Test.
Namespace
Drupal\Tests\acquia_lift\Unit\Service\HelperCode
public function providerTestIsInvalidCredentialDecisionApiUrl() {
$data = [];
$data['invalid has non-ascii characters'] = [
'不合法',
TRUE,
];
$data['valid null'] = [
NULL,
FALSE,
];
$data['valid empty'] = [
'',
FALSE,
];
$data['valid url 1'] = [
'acquia',
FALSE,
];
$data['valid url 2'] = [
'acquia.com',
FALSE,
];
return $data;
}