diff --git a/core_search_facets/src/Tests/IntegrationTest.php b/core_search_facets/src/Tests/IntegrationTest.php index f5bdada..085ca3e 100644 --- a/core_search_facets/src/Tests/IntegrationTest.php +++ b/core_search_facets/src/Tests/IntegrationTest.php @@ -101,9 +101,9 @@ class IntegrationTest extends WebTestBase { } /** - * Tests the "Created date" facets. + * Tests the "Post date" facets. */ - public function testCreatedDate() { + public function testPostDate() { $facet_name = 'Tardigrade'; $facet_id = 'tardigrade'; @@ -147,9 +147,8 @@ class IntegrationTest extends WebTestBase { $this->createFacetBlock($facet_id); $this->setShowAmountOfResults($facet_id, TRUE); - // Update the "changed" field value and verify that the date appears as - // expected in the facet. The nodes are created on February/March 2016 and - // the changed date is December 2016. + // Update the changed date. The nodes were created on February/March 2016 + // and the changed date is December 2016. $node = Node::load(1); $changed_date = new \DateTime('December 3 2016 1PM'); $node->changed = $changed_date->format('U');