You are here

public function UploadSourceTest::testAllSourcesEnabled in FileField Sources 8

Tests all sources enabled.

File

tests/src/Functional/UploadSourceTest.php, line 26

Class

UploadSourceTest
Tests the upload source.

Namespace

Drupal\Tests\filefield_sources\Functional

Code

public function testAllSourcesEnabled() {
  $this
    ->enableSources([
    'upload' => TRUE,
    'remote' => TRUE,
    'clipboard' => TRUE,
    'reference' => TRUE,
    'attach' => TRUE,
  ]);
  $this
    ->assertUploadSourceWorkProperly();
}