public function SettingsHelperTest::testIsInvalidCredentialAssetsUrl 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::testIsInvalidCredentialAssetsUrl()
Tests the isInvalidCredentialAssetsUrl() method.
@covers ::isInvalidCredentialAssetsUrl
@dataProvider providerTestIsInvalidCredentialAssetsUrl
Parameters
string $setting:
boolean $expected:
File
- tests/
src/ Unit/ Service/ Helper/ SettingsHelperTest.php, line 94
Class
- SettingsHelperTest
- SettingsHelper Test.
Namespace
Drupal\Tests\acquia_lift\Unit\Service\HelperCode
public function testIsInvalidCredentialAssetsUrl($setting, $expected) {
$result = SettingsHelper::isInvalidCredentialAssetsUrl($setting);
$this
->assertEquals($expected, $result);
}