diff --git a/core/modules/locale/src/Tests/LocalePluralFormatTest.php b/core/modules/locale/src/Tests/LocalePluralFormatTest.php
index 9622bd2..a8dfa45 100644
--- a/core/modules/locale/src/Tests/LocalePluralFormatTest.php
+++ b/core/modules/locale/src/Tests/LocalePluralFormatTest.php
@@ -167,6 +167,9 @@ public function testPluralEditDateFormatter() {
     $path = 'admin/config/regional/translate/';
     $search = array(
       'langcode' => 'fr',
+      // Limit to only translated strings to ensure that database ordering does
+      // not break the test.
+      'translation' => 'translated',
     );
     $this->drupalPostForm($path, $search, t('Filter'));
     // Plural values for the langcode fr.
