The latest version of Ubercart does not have the UbercartTestCase class. UC Recurring tests should not extend UbercartTestCase.

Comments

cpaddison’s picture

Status: Active » Needs review
StatusFileSize
new526 bytes

Here's a patch using UbercartTestHelper instead of UbercartTestCase.

[19-Jan-2012 15:22:10] PHP Fatal error: Class 'UbercartTestCase' not found in /sites/all/modules/ubercart/contrib/uc_recurring/uc_recurring.test on line 8

This seemed to fix the problem here.

Someone else want to test?

cpaddison’s picture

StatusFileSize
new538 bytes

Actually, this seems to work better... either one will get around the white screen of death, although this patch shows less errors in Ubercart tests.

This one uses UbercartCartCheckoutTestCase instead of UbercartTestHelper or UbercartTestCase.

Can someone else shed some light on this?

westwesterson’s picture

StatusFileSize
new392 bytes

Rerolling patch from base

westwesterson’s picture

Title: Class 'UbercartTestCase' not found » WSOD in simpletest caused by Class 'UbercartTestCase' not found

changing title

daveparrish’s picture

The patch need to be slightly different if your using uc_cart 6.x-2.6.

westwesterson’s picture

#5 is for an older version of ubercart 6.x-2.6.
#3 is for the latest version of ubercart 6.x-2.7+

rickmanelius’s picture

#3 works for D7 as well

univate’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bharat.kelotra’s picture

We have same issue for the drupal 7 module.