- Issue created by @m.stenta
- Status changed to Needs work
over 1 year ago 5:28pm 5 April 2023 - πΊπΈUnited States m.stenta
Attached is a patch that adds an automated test for this issue. We should see this test fail.
After demonstrating the failing test, I will open a MR that includes the test as well as the fix for it. We should see the test pass on the MR.
- πΊπΈUnited States paul121 Spokane, WA
m.stenta β credited paul121 β .
- πΊπΈUnited States m.stenta
Attached is a patch that adds an automated test for this issue. We should see this test fail.
As expected, the test fails with:
There was 1 failure: 1) Drupal\Tests\fraction\Kernel\FractionFieldTest::testSetValue Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'123/10' +'12/10' /var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Equality/IsEqual.php:96 /var/www/html/modules/contrib/fraction/tests/src/Kernel/FractionFieldTest.php:101 /var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
- @mstenta opened merge request.
- Status changed to Needs review
over 1 year ago 5:36pm 5 April 2023 - πΊπΈUnited States m.stenta
After demonstrating the failing test, I will open a MR that includes the test as well as the fix for it. We should see the test pass on the MR.
Opened merge request !16.
-
m.stenta β
committed 6fd850c9 on 2.x
Issue #3352472 by m.stenta, paul121: Update fraction and decimal...
-
m.stenta β
committed 6fd850c9 on 2.x
- Status changed to Fixed
over 1 year ago 7:29pm 19 April 2023 Automatically closed - issue fixed for 2 weeks with no activity.