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

[NFC] code cleanups in test class #20237

Merged
merged 1 commit into from
May 6, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented May 6, 2021

Overview

[NFC] code cleanups in test class

  • various best practice improvements

Before

After

  • types declared (strictly)
  • exceptions declared

Technical Details

Comments

@civibot
Copy link

civibot bot commented May 6, 2021

(Standard links)

@civibot civibot bot added the master label May 6, 2021
@eileenmcnaughton eileenmcnaughton changed the title [NFC] code cleanups [NFC] code cleanups in test class May 6, 2021
@seamuslee001
Copy link
Contributor

Test fails relate @eileenmcnaughton

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 yep - it turns out the tests were trying to lock in bad grammar (well I guess there is a chance it's just differently localised grammar but I think without the with is more correct)

@eileenmcnaughton eileenmcnaughton merged commit 3f9356b into civicrm:master May 6, 2021
@eileenmcnaughton eileenmcnaughton deleted the nfc branch May 6, 2021 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants