Skip to content
Snippets Groups Projects
Verified Commit 9320092d authored by Dave Long's avatar Dave Long
Browse files

Issue #3462556 by catch: Consolidate two test methods in NumberFieldTest

(cherry picked from commit 63bc78c2)
parent f59d1e0c
No related branches found
No related tags found
11 merge requests!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!8949Backport .gitlabci.yml changes.,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #229238 passed with warnings
Pipeline: drupal

#229272

    Pipeline: drupal

    #229266

      Pipeline: drupal

      #229254

        +1
        ......@@ -13,7 +13,6 @@
        * Tests the creation of numeric fields.
        *
        * @group field
        * @group #slow
        */
        class NumberFieldTest extends BrowserTestBase {
        ......@@ -393,9 +392,9 @@ public function testNumberFloatField(): void {
        }
        /**
        * Tests setting the minimum value of a float field through the interface.
        * Tests setting minimum values through the interface.
        */
        public function testCreateNumberFloatField(): void {
        public function testMinimumValues(): void {
        // Create a float field.
        $field_name = $this->randomMachineName();
        FieldStorageConfig::create([
        ......@@ -415,12 +414,7 @@ public function testCreateNumberFloatField(): void {
        $this->assertSetMinimumValue($field, 0.0001);
        // Set the minimum value to an integer value.
        $this->assertSetMinimumValue($field, 1);
        }
        /**
        * Tests setting the minimum value of a decimal field through the interface.
        */
        public function testCreateNumberDecimalField(): void {
        // Create a decimal field.
        $field_name = $this->randomMachineName();
        FieldStorageConfig::create([
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment