You are here

protected function IsAlreadyEnqueuedTest::setUp in Acquia Content Hub 8.2

Throws

\Exception

Overrides QueueingTestBase::setUp

File

tests/src/Kernel/IsAlreadyEnqueuedTest.php, line 32

Class

IsAlreadyEnqueuedTest
Tests that entities aren't added to the queue multiple times.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  NodeType::create([
    'type' => 'bundle_test',
  ])
    ->save();
}