You are here

public function ContentHubReindexTest::testIsReindexSent in Acquia Content Hub 8

Test the isReindexSent function.

@covers ::isReindexSent

File

tests/src/Unit/Controller/ContentHubReindexTest.php, line 235

Class

ContentHubReindexTest
@coversDefaultClass \Drupal\acquia_contenthub\Controller\ContentHubReindex

Namespace

Drupal\Tests\acquia_contenthub\Unit\Controller

Code

public function testIsReindexSent() {
  $this->reindexState = ContentHubReindex::REINDEX_SENT;
  $this
    ->assertTrue($this->contentHubReindex
    ->isReindexSent());
}