You are here

protected function FileManagedTestBase::setUp in Drupal 8

Same name in this branch
  1. 8 core/modules/file/src/Tests/FileManagedTestBase.php \Drupal\file\Tests\FileManagedTestBase::setUp()
  2. 8 core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()
Same name and namespace in other branches
  1. 9 core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()
  2. 10 core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()

Overrides BrowserTestBase::setUp

3 calls to FileManagedTestBase::setUp()
DownloadTest::setUp in core/modules/file/tests/src/Functional/DownloadTest.php
SaveUploadFormTest::setUp in core/modules/file/tests/src/Functional/SaveUploadFormTest.php
SaveUploadTest::setUp in core/modules/file/tests/src/Functional/SaveUploadTest.php
3 methods override FileManagedTestBase::setUp()
DownloadTest::setUp in core/modules/file/tests/src/Functional/DownloadTest.php
SaveUploadFormTest::setUp in core/modules/file/tests/src/Functional/SaveUploadFormTest.php
SaveUploadTest::setUp in core/modules/file/tests/src/Functional/SaveUploadTest.php

File

core/modules/file/tests/src/Functional/FileManagedTestBase.php, line 23

Class

FileManagedTestBase
Base class for file tests that use the file_test module to test uploads and hooks.

Namespace

Drupal\Tests\file\Functional

Code

protected function setUp() {
  parent::setUp();

  // Clear out any hook calls.
  file_test_reset();
}