function SqlTest::providerTestFailEnsureTables

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php \Drupal\Tests\migrate\Kernel\Plugin\id_map\SqlTest::providerTestFailEnsureTables()
  2. 11.x core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php \Drupal\Tests\migrate\Kernel\Plugin\id_map\SqlTest::providerTestFailEnsureTables()

Provides data for testFailEnsureTables.

File

core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php, line 161

Class

SqlTest
Tests that the migrate map table is created.

Namespace

Drupal\Tests\migrate\Kernel\Plugin\id_map

Code

public static function providerTestFailEnsureTables() {
    return [
        'one id' => [
            [
                'alpha' => [
                    'type' => 'string',
                ],
            ],
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.