You are here

public function DateRecurPartGridUnitTest::testSettingsToGridOriginal in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x tests/src/Unit/DateRecurPartGridUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurPartGridUnitTest::testSettingsToGridOriginal()
  2. 3.0.x tests/src/Unit/DateRecurPartGridUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurPartGridUnitTest::testSettingsToGridOriginal()
  3. 3.1.x tests/src/Unit/DateRecurPartGridUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurPartGridUnitTest::testSettingsToGridOriginal()

Tests config settings to grid helper.

@covers ::configSettingsToGrid

File

tests/src/Unit/DateRecurPartGridUnitTest.php, line 56

Class

DateRecurPartGridUnitTest
Tests part grid class.

Namespace

Drupal\Tests\date_recur\Unit

Code

public function testSettingsToGridOriginal() {
  $parts = [];
  $partGrid = DateRecurPartGrid::configSettingsToGrid($parts);
  $this
    ->assertTrue($partGrid
    ->isAllowEverything());
}