You are here

public function ChartsDefaultSettingsTest::testNumberOfDefaultSettings in Charts 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/Settings/ChartsDefaultSettingsTest.php \Drupal\Tests\charts\Unit\Settings\ChartsDefaultSettingsTest::testNumberOfDefaultSettings()
  2. 5.0.x tests/src/Unit/Settings/ChartsDefaultSettingsTest.php \Drupal\Tests\charts\Unit\Settings\ChartsDefaultSettingsTest::testNumberOfDefaultSettings()

Tests the numver of defaults settings.

File

tests/src/Unit/Settings/ChartsDefaultSettingsTest.php, line 53

Class

ChartsDefaultSettingsTest
@coversDefaultClass \Drupal\charts\Settings\ChartsDefaultSettings @group charts

Namespace

Drupal\Tests\charts\Unit\Settings

Code

public function testNumberOfDefaultSettings() {
  $this
    ->assertCount(39, $this->chartsDefaultSettings
    ->getDefaults());
}