You are here

public function FacetsDateHandlerTest::testIsoDate in Facets 8

Tests the isoDate method.

@dataProvider provideIsoDates

File

tests/src/Unit/Utility/FacetsDateHandlerTest.php, line 80

Class

FacetsDateHandlerTest
Unit test for Date Handler Service.

Namespace

Drupal\Tests\facets\Unit\Utility

Code

public function testIsoDate($iso_date, $gap) {
  $fd = $this->handler;
  $this
    ->assertEquals($iso_date, $fd
    ->isoDate(static::TIMESTAMP, $gap));
}