-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for new rounded money format functions #12689
Conversation
Note that there are also some protected functions added. I have left those to be teste via this wrapper as they are not yet exposed
(Standard links)
|
/** | ||
* Test rounded by currency function. | ||
* | ||
* This should be formatted according to European standards - . thousand separator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eileenmcnaughton this comment doesn't seem to match the text which seems to be using ,
as a thousand separator and .
as decimal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't it $this->assertEquals('8.950,37', $result);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks to me to be $this->assertEquals('8,950.37', $result);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah - what I had locally wasn't properly pushed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok test looks right now
75c79fc
to
b8b8e60
Compare
This only affects tests so the only judge that really matters is Jenkins, adding merge on pass |
Overview
Unit tests in support of #12626
Before
Untested
After
tested
Technical Details
Note that there are also some protected functions added. I have left those to be teste via this wrapper as they are not yet exposed
Comments
@mattwire @seamuslee001 ping