You are here

protected function DownloadLoggerTest::setUp in Commerce File 8.2

Overrides KernelTestBase::setUp

File

tests/src/Kernel/DownloadLoggerTest.php, line 39

Class

DownloadLoggerTest
Tests the file download logger.

Namespace

Drupal\Tests\commerce_file\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('commerce_file', [
    'commerce_file_download_log',
  ]);
  $this->downloadLogger = $this->container
    ->get('commerce_file.download_logger');
}