public function SettingsHelperTest::testIsInvalidCredential in Acquia Lift Connector 8
Tests the isInvalidCredential() method.
@covers ::isInvalidCredential
@dataProvider providerTestIsInvalidCredential
Parameters
array $full_settings:
boolean $expected:
File
- tests/
src/ Unit/ Service/ Helper/ SettingsHelperTest.php, line 105 - Contains \Drupal\Tests\acquia_lift\Service\Helper\SettingsHelperTest.
Class
- SettingsHelperTest
- SettingsHelper Test.
Namespace
Drupal\Tests\acquia_lift\Service\HelperCode
public function testIsInvalidCredential($full_settings, $expected) {
$result = SettingsHelper::isInvalidCredential($full_settings);
$this
->assertEquals($expected, $result);
}