You are here

public function AcsfConfigTest::testAcsfConfigMissingPassword in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 tests/AcsfConfigTest.php \AcsfConfigTest::testAcsfConfigMissingPassword()

Tests that a missing password triggers an exception.

File

tests/AcsfConfigTest.php, line 92
Provides PHPUnit tests for AcsfConfig.

Class

AcsfConfigTest
Provides PHPUnit tests for AcsfConfig.

Code

public function testAcsfConfigMissingPassword() {
  $this
    ->expectException(AcsfConfigIncompleteException::class);
  new AcsfConfigUnitTestMissingPassword('unit_test_site', 'unit_test_env');
}