diff --git a/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php b/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php
index 4cc2249..ef9a7df 100644
--- a/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php
+++ b/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php
@@ -122,8 +122,8 @@ function testProcessedCache() {
     // Inject values into the cache to make sure that these are used as-is and
     // not re-calculated.
     $data = array(
-      'summary_field' => array(
-        Language::LANGCODE_DEFAULT => array(
+      Language::LANGCODE_DEFAULT => array(
+        'summary_field' => array(
           0 => array(
             'value' => $value,
             'summary' => $summary,
