public function AcsfConfigTest::testAcsfConfigMissingEnvironment in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 tests/AcsfConfigTest.php \AcsfConfigTest::testAcsfConfigMissingEnvironment()
Tests that a PHP error is thrown when not enough params are provided.
File
- tests/
AcsfConfigTest.php, line 58 - Provides PHPUnit tests for AcsfConfig.
Class
- AcsfConfigTest
- Provides PHPUnit tests for AcsfConfig.
Code
public function testAcsfConfigMissingEnvironment() {
$this
->expectException(Notice::class);
$this
->expectExceptionMessage('AH_SITE_ENVIRONMENT');
new AcsfConfigUnitTest('ah_site_group');
}