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