You are here

public function FileCopyTest::providerDeprecationNoticeReuse in Drupal 8

Data provider for testDeprecationNoticeReuse.

File

core/modules/migrate/tests/src/Unit/process/FileCopyTest.php, line 65

Class

FileCopyTest
Tests the file copy process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function providerDeprecationNoticeReuse() {
  return [
    [
      [
        'reuse' => TRUE,
      ],
      FileSystemInterface::EXISTS_ERROR,
    ],
    [
      [
        'reuse' => FALSE,
      ],
      FileSystemInterface::EXISTS_REPLACE,
    ],
  ];
}