[10.2] Drupal\Core\Database\Connection::nextId(), the {sequences} table and schema are deprecated

Created on 1 July 2024, 2 months ago
Updated 15 July 2024, about 2 months ago

Change record: Drupal\Core\Database\Connection::nextId(), the {sequences} table and schema are deprecated β†’

$this->installSchema('system', ['sequences']); is deprecated in Kernel tests as of D10.2, and is not allowed as of D11.

Rules has these usages:

tests/src/Kernel/EntityViewTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/Engine/MetadataAssertionTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/RulesUiEmbedTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/EventIntegrationTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/ConfigurableEventHandlerTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/ContextProvider/SiteContextTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/ContextProvider/CurrentPathContextTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/ContextProvider/CurrentDateContextTest.php:    $this->installSchema('system', ['sequences']);
tests/src/Kernel/CoreIntegrationTest.php:    $this->installSchema('system', ['sequences']);
πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Tests

Created by

πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024