Skip to content
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

PW-1520: added formatAmount function and test #113

Merged
merged 3 commits into from
Jul 19, 2019
Merged

PW-1520: added formatAmount function and test #113

merged 3 commits into from
Jul 19, 2019

Conversation

Aleffio
Copy link
Member

@Aleffio Aleffio commented Jul 18, 2019

added formatAmount function and test
fix ExceptionTest

$currency = "EUR";
$formattedAmount = Util::formatAmount($amount, $currency);
$this->assertEquals(1502, $formattedAmount);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we add 3 test cases for the 3 different options ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@Aleffio Aleffio merged commit 8a78d9b into develop Jul 19, 2019
@Aleffio Aleffio deleted the PW-1520 branch July 19, 2019 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants