protected function ImportQueueWorkerLoggingTest::runImportQueueWorker in Acquia Content Hub 8.2
Run import queue worker processItem method.
Parameters
array $uuids: UUIDs which will be passed for the queue worker.
Throws
\Exception
1 call to ImportQueueWorkerLoggingTest::runImportQueueWorker()
- ImportQueueWorkerLoggingTest::testImporQueueWorkerLogging in tests/
src/ Kernel/ ImportQueueWorkerLoggingTest.php - Tests logging within import queue worker.
File
- tests/
src/ Kernel/ ImportQueueWorkerLoggingTest.php, line 98
Class
- ImportQueueWorkerLoggingTest
- Tests logging for import queue.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
protected function runImportQueueWorker(array $uuids) {
$item = new \stdClass();
$item->uuids = implode(', ', $uuids);
$this->contentHubImportQueueWorker
->processItem($item);
}