You are here

public function ContentHubReindexTest::testIsReindexFinished in Acquia Content Hub 8

Test the isReindexFinished function.

@covers ::isReindexFinished

File

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

Class

ContentHubReindexTest
@coversDefaultClass \Drupal\acquia_contenthub\Controller\ContentHubReindex

Namespace

Drupal\Tests\acquia_contenthub\Unit\Controller

Code

public function testIsReindexFinished() {
  $this->reindexState = ContentHubReindex::REINDEX_FINISHED;
  $this
    ->assertTrue($this->contentHubReindex
    ->isReindexFinished());
}