Skip to content
Snippets Groups Projects
Unverified Commit 6b577ab5 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3522004 by catch: Consolidate list_string test cases in OptionsFieldUiTest

parent b8c04763
No related branches found
No related tags found
4 merge requests!12628#3524738 backport without deprecation,!12477#3532243: JSON support status during updates,!5423Draft: Resolve #3329907 "Test2",!3478Issue #3337882: Deleted menus are not removed from content type config
Pipeline #496214 passed with warnings
Pipeline: drupal

#496225

    Pipeline: drupal

    #496216

      ...@@ -321,13 +321,7 @@ public static function providerTestOptionsAllowedValues() { ...@@ -321,13 +321,7 @@ public static function providerTestOptionsAllowedValues() {
      ], ],
      'List string' => [ 'List string' => [
      'list_string', 'list_string',
      ['first' => 'First', 'second' => 'Second', 'third' => 'Third'], ['0' => '0', '1' => '1', 'two' => 'two'],
      TRUE,
      ],
      // Example with empty key and label values like string '0'.
      'List string with 0 value' => [
      'list_string',
      ['0' => '0', '1' => '1', '2' => '2'],
      TRUE, TRUE,
      ], ],
      ]; ];
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Please register or to comment