You are here

public function MigrationLookupTest::skipInvalidDataProvider in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php \Drupal\Tests\migrate\Unit\process\MigrationLookupTest::skipInvalidDataProvider()

Provides data for the SkipInvalid test.

Return value

array Empty values.

File

core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php, line 94

Class

MigrationLookupTest
@coversDefaultClass \Drupal\migrate\Plugin\migrate\process\MigrationLookup @group migrate

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function skipInvalidDataProvider() {
  return [
    'Empty String' => [
      '',
    ],
    'Boolean False' => [
      FALSE,
    ],
    'Empty Array' => [
      [],
    ],
    'Null' => [
      NULL,
    ],
  ];
}