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

Deprecate passing contribution_status_id to Membership::create #20292

Closed
wants to merge 1 commit into from

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Deprecate passing contribution_status_id to Membership::create

Before

Bad practice acted on quietly

After

Bad practice acted on noisily

Technical Details

I'm fully expecting some test fails first round

Comments

@civibot
Copy link

civibot bot commented May 13, 2021

(Standard links)

@civibot civibot bot added the master label May 13, 2021
@seamuslee001
Copy link
Contributor

Test fails relate @eileenmcnaughton

@eileenmcnaughton
Copy link
Contributor Author

CRM_Batch_Form_EntryTest::testProcessMembership with data set #0 ('.')
Use the order api

/home/jenkins/bknix-dfl/build/core-20292-23uts/web/sites/all/modules/civicrm/CRM/Core/Error.php:1053
/home/jenkins/bknix-dfl/build/core-20292-23uts/web/sites/all/modules/civicrm/CRM/Member/BAO/Membership.php:348
/home/jenkins/bknix-dfl/build/core-20292-23uts/web/sites/all/modules/civicrm/CRM/Batch/Form/Entry.php:857
/home/jenkins/bknix-dfl/build/core-20292-23uts/web/sites/all/modules/civicrm/CRM/Batch/Form/Entry.php:1006
/home/jenkins/bknix-dfl/build/core-20292-23uts/web/sites/all/modules/civicrm/tests/phpunit/CRM/Batch/Form/EntryTest.php:180
/home/jenkins/bknix-dfl/build/core-20292-23uts/web/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:228
/home/jenkins/bknix-dfl/extern/phpunit7/phpunit7.phar:615

@eileenmcnaughton
Copy link
Contributor Author

Ok - I'm gonna divide & conquer on the batch stuff - #20295

@eileenmcnaughton eileenmcnaughton deleted the deprecate branch October 17, 2021 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants