public function AcsfConfigTest::testAcsfConfigMissingUsername in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 tests/AcsfConfigTest.php \AcsfConfigTest::testAcsfConfigMissingUsername()
Tests that a missing username triggers an exception.
File
- tests/
AcsfConfigTest.php, line 100 - Provides PHPUnit tests for AcsfConfig.
Class
- AcsfConfigTest
- Provides PHPUnit tests for AcsfConfig.
Code
public function testAcsfConfigMissingUsername() {
$this
->expectException(AcsfConfigIncompleteException::class);
new AcsfConfigUnitTestMissingUsername('unit_test_site', 'unit_test_env');
}