public function ChartsDefaultSettingsTest::testNumberOfDefaultSettings in Charts 8.4
Same name and namespace in other branches
- 8.3 tests/src/Unit/Settings/ChartsDefaultSettingsTest.php \Drupal\Tests\charts\Unit\Settings\ChartsDefaultSettingsTest::testNumberOfDefaultSettings()
- 5.0.x tests/src/Unit/Settings/ChartsDefaultSettingsTest.php \Drupal\Tests\charts\Unit\Settings\ChartsDefaultSettingsTest::testNumberOfDefaultSettings()
Tests the number of defaults settings.
File
- tests/
src/ Unit/ Settings/ ChartsDefaultSettingsTest.php, line 55
Class
- ChartsDefaultSettingsTest
- @coversDefaultClass \Drupal\charts\Settings\ChartsDefaultSettings @group charts
Namespace
Drupal\Tests\charts\Unit\SettingsCode
public function testNumberOfDefaultSettings() {
$this
->assertCount(39, $this->chartsDefaultSettings
->getDefaults());
$this
->assertCount(7, $this->chartsDefaultSettings
->getDefaults(TRUE));
}