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

Fix running of CRM_Utils_MoneyTest on PHPUnit6+ #14424

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

seamuslee001
Copy link
Contributor

Overview

This fixes a test failure that occurs on PHPUnit6+ https://test.civicrm.org/job/CiviCRM-Core-Matrix/BKPROF=max,CIVIVER=master,label=bknix-tmp/lastCompletedBuild/testReport/(root)/CRM_Utils_MoneyTest/testInvalidCurrency/

Before

Test fails on PHPUnit6

After

Test passes

Technical Details

It appears that according to https://twitter.com/asgrim/status/696320062823755776 the setExpectedException Method has been removed in favour of expectExecption

@civibot
Copy link

civibot bot commented Jun 4, 2019

(Standard links)

@civibot civibot bot added the master label Jun 4, 2019
@eileenmcnaughton eileenmcnaughton merged commit 56c9616 into civicrm:master Jun 4, 2019
@eileenmcnaughton eileenmcnaughton deleted the phpunit6_money_test branch June 4, 2019 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants