public function PublisherTrackerTest::testSetQueueItemByUuid in Acquia Content Hub 8.2
Test case to update the queue id.
@covers ::setQueueItemByUuid
Throws
\Drupal\Core\Entity\EntityStorageException
\Exception
File
- tests/
src/ Kernel/ PublisherTrackerTest.php, line 98
Class
- PublisherTrackerTest
- Tests publisher tracker methods.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
public function testSetQueueItemByUuid() {
$expected_queue_id = 1;
$this->publisherTracker
->setQueueItemByUuid($this->node
->uuid(), $expected_queue_id);
$actual_queue_id = $this
->getTrackingTableColByUuid($this->node
->uuid(), 'queue_id');
$this
->assertEqual($actual_queue_id, $expected_queue_id);
}