You are here

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

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

Tests getUsername() works as expected.

File

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

Class

AcsfConfigTest
Provides PHPUnit tests for AcsfConfig.

Code

public function testAcsfConfigGetUsername() {
  $config = new AcsfConfigUnitTest('unit_test_site', 'unit_test_env');
  $this
    ->assertSame($config
    ->getUsername(), 'gardener_unit_test');
}