function DrupalGetProfileLegacyTest::setUp

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php, line 29

Class

DrupalGetProfileLegacyTest
Tests drupal_get_profile().

Namespace

Drupal\Tests\Core\Bootstrap

Code

protected function setUp() {
    parent::setUp();
    include $this->root . '/core/includes/bootstrap.inc';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.