You are here

protected function AcquiadamKernelTestBase::setUp in Media: Acquia DAM 8

Overrides EntityKernelTestBase::setUp

2 calls to AcquiadamKernelTestBase::setUp()
AcquiadamMediaTest::setUp in tests/src/Kernel/AcquiadamMediaTest.php
AcquiadamNotificationTest::setUp in tests/src/Kernel/AcquiadamNotificationTest.php
2 methods override AcquiadamKernelTestBase::setUp()
AcquiadamMediaTest::setUp in tests/src/Kernel/AcquiadamMediaTest.php
AcquiadamNotificationTest::setUp in tests/src/Kernel/AcquiadamNotificationTest.php

File

tests/src/Kernel/AcquiadamKernelTestBase.php, line 46

Class

AcquiadamKernelTestBase
Base class for Acquia DAM kernel tests.

Namespace

Drupal\Tests\media_acquiadam\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->setTestClient();
  $this
    ->installConfig('media_acquiadam_test');
  $this
    ->installEntitySchema('file');
  $this
    ->installEntitySchema('media');
  $this
    ->installSchema('file', [
    'file_usage',
  ]);
  $this
    ->installSchema('media_acquiadam', [
    'acquiadam_assets_data',
  ]);
}