function HtmlToTextTest::setUp
Same name in other branches
- 10 core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php \Drupal\Tests\system\Unit\Mail\HtmlToTextTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php, line 22
Class
Namespace
Drupal\Tests\system\Unit\MailCode
public function setUp() : void {
parent::setUp();
$GLOBALS['base_path'] = '/';
$GLOBALS['base_url'] = 'http://localhost';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.