public function DateRecurPartGridUnitTest::testSettingsToGridOriginal in Recurring Dates Field 8.2
Same name and namespace in other branches
- 3.x tests/src/Unit/DateRecurPartGridUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurPartGridUnitTest::testSettingsToGridOriginal()
- 3.0.x tests/src/Unit/DateRecurPartGridUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurPartGridUnitTest::testSettingsToGridOriginal()
- 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\UnitCode
public function testSettingsToGridOriginal() {
$parts = [];
$partGrid = DateRecurPartGrid::configSettingsToGrid($parts);
$this
->assertTrue($partGrid
->isAllowEverything());
}