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 cleanup in api_v3_CaseTest #12950

Merged
merged 1 commit into from
Oct 18, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

non functional tidy up in test class

Before

no change

After

no change

Technical Details

removes unused variables, fix comments, fix deprecated practices -ie

  • $dao->free() - this is now done by $dao->_destruct and in rare scenarios breaks data integrity if it is called.
  • declaring the test breakage line - ie. '' in line ' . LINE' - this is now redundant
  • calling civicrm_api in tests - we call $this->callAPISuccess

Comments

@civibot
Copy link

civibot bot commented Oct 18, 2018

(Standard links)

@civibot civibot bot added the master label Oct 18, 2018
@eileenmcnaughton eileenmcnaughton merged commit 52b6156 into civicrm:master Oct 18, 2018
@eileenmcnaughton eileenmcnaughton deleted the case branch October 18, 2018 08:57
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