You are here

public function FacetsDateHandlerTest::testInvalidNextDateIncrement in Facets 8

Tests for ::nextDateIncrement method.

File

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

Class

FacetsDateHandlerTest
Unit test for Date Handler Service.

Namespace

Drupal\Tests\facets\Unit\Utility

Code

public function testInvalidNextDateIncrement() {
  $this
    ->assertFalse($this->handler
    ->getNextDateIncrement('foo', FacetsDateHandler::FACETS_DATE_SECOND));
}