Skip to content
Snippets Groups Projects
Verified Commit e2b97e56 authored by Dave Long's avatar Dave Long
Browse files

Issue #3472946 by xmacinfo, daffie: Clarify "Database support for JSON"...

Issue #3472946 by xmacinfo, daffie: Clarify "Database support for JSON" success requirement message for Drupal 11
parent b2b6b60d
No related branches found
No related tags found
1 merge request!617Issue #3043725: Provide a Entity Handler for user cancelation
Pipeline #406900 passed with warnings
+4
......@@ -574,7 +574,7 @@ function system_requirements($phase): array {
'title' => t('Database support for JSON'),
'severity' => REQUIREMENT_OK,
'value' => t('Available'),
'description' => t('Is required in Drupal 10.0.'),
'description' => t('Drupal requires databases that support JSON storage.'),
];
if (!Database::getConnection()->hasJson()) {
......
......@@ -117,7 +117,7 @@ public function testStatusPage(): void {
// Check if JSON database support is enabled.
$this->assertSession()->pageTextContains('Database support for JSON');
$elements = $this->xpath('//details[@class="system-status-report__entry"]//div[contains(text(), :text)]', [
':text' => 'Is required in Drupal 10.0.',
':text' => 'Drupal requires databases that support JSON storage.',
]);
$this->assertCount(1, $elements);
$this->assertStringStartsWith('Available', $elements[0]->getParent()->getText());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment