Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7
-
Fix Version/s: 4.7
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
In 4.7 the code that loads the payment processors won't load 'invalid' processors onto pages - ie. processors that fail the checkConfig() function on their class.
I see a webtest failing
WebTest_Member_OnlineMembershipRenewTest::testOnlineMembershipRenew
"Fatal Error" encountered at http://build-3.l/civicrm/contribute/transact?reset=1&id=2
Error Message: A payment processor configured for this page might be disabled (contact the site administrator for assistance).
/srv/buildkit/build/build-3/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviSeleniumTestCase.php:2388
/srv/buildkit/build/build-3/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviSeleniumTestCase.php:225
/srv/buildkit/build/build-3/sites/all/modules/civicrm/tests/phpunit/WebTest/Member/OnlineMembershipRenewTest.php:102
/srv/buildkit/build/build-3/sites/all/modules/civicrm/tools/scripts/phpunit:80
And I suspect this could be fixed by fixing the webtest to create a valid processor - ie. in
However, I had another go at getting webstests to work for me today & have abandoned them again