You are here

public function AcsfConfigTest::testAcsfConfigMissingUrl in Acquia Cloud Site Factory Connector 8

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

Tests that a missing URL triggers an exception.

File

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

Class

AcsfConfigTest
Provides PHPUnit tests for AcsfConfig.

Code

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