Page MenuHomePhabricator

Ressurect phpunit tests for the CRM modules
Closed, ResolvedPublic2 Estimated Story Points

Description

These tests have gotten stale due to disuse. Make them all pass, or skip failing tests for now.

Also: update documentation for how to install and use this repo, and add documentation on how to run the tests.

Event Timeline

awight raised the priority of this task from to Medium.
awight updated the task description. (Show Details)
awight subscribed.
awight moved this task from Dev Ready to In Development on the § Fundraising Sprint Abba board.
awight updated the task description. (Show Details)
awight set Security to None.
awight edited a custom field.

A minor thing I noticed is that my local db still has no default value for drupal.contribution_tracking.anonymous and optout. The production box has "default null" for these columns. This should have been fixed by a schema upgrade, I assume other dev instances will have this issue.

Change 184720 had a related patch set uploaded (by Awight):
Fix unit tests

https://gerrit.wikimedia.org/r/184720

Patch-For-Review

Change 185206 had a related patch set uploaded (by Awight):
Delete bad references

https://gerrit.wikimedia.org/r/185206

Patch-For-Review

Change 185337 had a related patch set uploaded (by Awight):
Reinstate some missing schema upgrades

https://gerrit.wikimedia.org/r/185337

Patch-For-Review

Change 185338 had a related patch set uploaded (by Awight):
obsessive safety checks

https://gerrit.wikimedia.org/r/185338

Patch-For-Review

Change 185337 merged by Ejegg:
Reinstate some missing schema upgrades

https://gerrit.wikimedia.org/r/185337

Change 185338 merged by Ejegg:
obsessive safety checks

https://gerrit.wikimedia.org/r/185338

once Jenkins decides to play nice

Status: There is a tiny thing I should continue fixing in https://gerrit.wikimedia.org/r/#/c/185206/

awight renamed this task from Make CiviCRM phpunit tests healthy again to Ressurect phpunit tests for the CRM modules.Feb 5 2015, 7:54 AM
awight raised the priority of this task from Medium to High.

@awight is this a blocker for upgrading to 4.4?

awight moved this task from Dev Ready to Pending Deployment on the Fundraising Sprint Enya board.
awight moved this task from Pending Deployment to Done on the Fundraising Sprint Enya board.