SharedDatabaseStateViolationTest::PROBE_SCHEMA

Same name and namespace in other branches
  1. main core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php \Drupal\KernelTests\SharedDatabaseStateViolationTest::PROBE_SCHEMA

The schema of the probe table.

File

core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php, line 47

Class

SharedDatabaseStateViolationTest
Tests how "KernelTestBase" reports shared database state violations.

Namespace

Drupal\KernelTests

Code

private const PROBE_SCHEMA = [
  'fields' => [
    'id' => [
      'type' => 'int',
      'not null' => TRUE,
    ],
  ],
  'primary key' => [
    'id',
  ],
];

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