Loading core/modules/system/system.install +1 −1 Original line number Diff line number Diff line Loading @@ -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()) { Loading core/modules/system/tests/src/Functional/System/StatusTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -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()); Loading Loading
core/modules/system/system.install +1 −1 Original line number Diff line number Diff line Loading @@ -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()) { Loading
core/modules/system/tests/src/Functional/System/StatusTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -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()); Loading