diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 570f707355..99fb101ea6 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -493,14 +493,14 @@ function system_requirements($phase) { $requirements['database_support_json'] = [ 'title' => t('Database support for JSON'), 'severity' => REQUIREMENT_OK, - 'value' => t('Supported'), - 'description' => t('Currently not required, however it will be required from Drupal 10.'), + 'value' => t('Available'), + 'description' => t('Is required in Drupal 10.0.'), ]; try { Database::getConnection()->query('SELECT JSON_TYPE(\'1\')'); } catch (\Exception $e) { - $requirements['database_support_json']['value'] = t('Not supported'); + $requirements['database_support_json']['value'] = t('Not available'); $requirements['database_support_json']['severity'] = REQUIREMENT_WARNING; } } diff --git a/core/modules/system/tests/src/Functional/System/StatusTest.php b/core/modules/system/tests/src/Functional/System/StatusTest.php index eb2479280d..f2d9fb479e 100644 --- a/core/modules/system/tests/src/Functional/System/StatusTest.php +++ b/core/modules/system/tests/src/Functional/System/StatusTest.php @@ -95,10 +95,10 @@ public function testStatusPage() { // 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' => 'Currently not required, however it will be required from Drupal 10.', + ':text' => 'Is required in Drupal 10.0.', ]); $this->assertCount(1, $elements); - $this->assertStringStartsWith('Supported', $elements[0]->getParent()->getText()); + $this->assertStringStartsWith('Available', $elements[0]->getParent()->getText()); } }