You are here

protected function QueueingTestBase::setUp in Acquia Content Hub 8.2

Throws

\Exception

Overrides KernelTestBase::setUp

5 calls to QueueingTestBase::setUp()
EntityTypeOrBundleExcludeTest::setUp in tests/src/Kernel/EntityTypeOrBundleExcludeTest.php
IsAlreadyEnqueuedTest::setUp in tests/src/Kernel/IsAlreadyEnqueuedTest.php
MissingIdTest::setUp in tests/src/Kernel/MissingIdTest.php
RePublishDependencyChangesTest::setUp in tests/src/Kernel/RePublishDependencyChangesTest.php
RevisionIsCurrentTest::setUp in tests/src/Kernel/RevisionIsCurrentTest.php
5 methods override QueueingTestBase::setUp()
EntityTypeOrBundleExcludeTest::setUp in tests/src/Kernel/EntityTypeOrBundleExcludeTest.php
IsAlreadyEnqueuedTest::setUp in tests/src/Kernel/IsAlreadyEnqueuedTest.php
MissingIdTest::setUp in tests/src/Kernel/MissingIdTest.php
RePublishDependencyChangesTest::setUp in tests/src/Kernel/RePublishDependencyChangesTest.php
RevisionIsCurrentTest::setUp in tests/src/Kernel/RevisionIsCurrentTest.php

File

tests/src/Kernel/QueueingTestBase.php, line 42

Class

QueueingTestBase
Base for enqueue eligibility tests.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('acquia_contenthub_publisher', [
    'acquia_contenthub_publisher_export_tracking',
  ]);
  $this->contentHubQueue = $this->container
    ->get('acquia_contenthub_publisher.acquia_contenthub_export_queue');
}