function SettingsTest::testGetInstance
@covers ::getInstance
File
-
core/
tests/ Drupal/ Tests/ Core/ Site/ SettingsTest.php, line 67
Class
- SettingsTest
- @coversDefaultClass \Drupal\Core\Site\Settings[[api-linebreak]] @runTestsInSeparateProcesses @group Site
Namespace
Drupal\Tests\Core\SiteCode
public function testGetInstance() {
$singleton = $this->settings
->getInstance();
$this->assertEquals($singleton, $this->settings);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.