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] Add assertions to existing test to lock in current behaviour #17605

Merged
merged 1 commit into from
Jun 14, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jun 14, 2020

Overview

Per standard tdd refactoring I'm adding tests before I alter the code that is tested. Note that the code
has quite a bit I think can go

Before

Various parameters are not checked

After

Parameters checked

Technical Details

Note I removed 'source' => '' as it turns out not to be on the form

Comments

Per standard tdd refactoring I'm adding tests before I alter the code that is tested. Note that the code
has quite a bit I think can go
@civibot
Copy link

civibot bot commented Jun 14, 2020

(Standard links)

@civibot civibot bot added the master label Jun 14, 2020
@seamuslee001 seamuslee001 merged commit 283a260 into civicrm:master Jun 14, 2020
@eileenmcnaughton eileenmcnaughton deleted the membertest branch June 14, 2020 05:37
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 14, 2020
Now we have test cover from civicrm#17605 and other
recents we can consolidate this code & be comfortable the test cover will pick up issues.
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 14, 2020
Now we have test cover from civicrm#17605 and other
recents we can consolidate this code & be comfortable the test cover will pick up issues.
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 14, 2020
Now we have test cover from civicrm#17605 and other
recents we can consolidate this code & be comfortable the test cover will pick up issues.
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 15, 2020
Now we have test cover from civicrm#17605 and other
recents we can consolidate this code & be comfortable the test cover will pick up issues.
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 15, 2020
Now we have test cover from civicrm#17605 and other
recents we can consolidate this code & be comfortable the test cover will pick up issues.
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 15, 2020
Now we have test cover from civicrm#17605 and other
recents we can consolidate this code & be comfortable the test cover will pick up issues.
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