Skip to content
Snippets Groups Projects

Issue #3472946 by xmacinfo, dpi: Clarify “Database support for JSON” success...

Closed Issue #3472946 by xmacinfo, dpi: Clarify “Database support for JSON” success...
1 unresolved thread
1 unresolved thread
Files
2
@@ -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