summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlex Pott <alex.a.pott@googlemail.com>2025-05-13 17:23:19 +0100
committerAlex Pott <alex.a.pott@googlemail.com>2025-05-13 17:23:19 +0100
commit6b577ab50be12212a7ef7e545938daf6ceb70345 (patch)
tree90102dee62aeae78c9da5bf6f87c1fb7ece37af4
parentb8c04763730755460531ccccec16bdf983bdc453 (diff)
downloaddrupal-6b577ab50be12212a7ef7e545938daf6ceb70345.tar.gz
drupal-6b577ab50be12212a7ef7e545938daf6ceb70345.zip
Issue #3522004 by catch: Consolidate list_string test cases in OptionsFieldUiTest
-rw-r--r--core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php b/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php
index 80f92c2d286..28dc50ef60f 100644
--- a/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php
+++ b/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php
@@ -321,13 +321,7 @@ JS;
],
'List string' => [
'list_string',
- ['first' => 'First', 'second' => 'Second', 'third' => 'Third'],
- TRUE,
- ],
- // Example with empty key and label values like string '0'.
- 'List string with 0 value' => [
- 'list_string',
- ['0' => '0', '1' => '1', '2' => '2'],
+ ['0' => '0', '1' => '1', 'two' => 'two'],
TRUE,
],
];