You are here

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

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

Tests that a PHP error is thrown when not enough params are provided.

File

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

Class

AcsfConfigTest
Provides PHPUnit tests for AcsfConfig.

Code

public function testAcsfConfigMissingSiteGroup() {
  $this
    ->expectException(Notice::class);
  $this
    ->expectExceptionMessage('AH_SITE_GROUP');
  new AcsfConfigUnitTest(NULL, 'ah_site_environment');
}