I'm always getting this error:

PHP Fatal error: Class 'CommerceCartTestCase' not found in .../sites/all/modules/authcache/modules/authcache_commerce/authcache_commerce.test on line 15

when trying to run tests, even if authcache_commerce module is disabled. It's annoying, because I can't run any tests. The only solution is to download commerce module, but I do not need it.

I think we should add simple check to appropriate .test file to prevent this problem.
Patch is attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alan-ps created an issue. See original summary.

znerol’s picture

alan-ps’s picture

Agreed!

  • znerol committed d16ccac on 7.x-2.x
    Issue #2816525 by alan-ps, znerol: PHP Fatal error:  Class '...
znerol’s picture

Status: Needs review » Fixed

Thanks taking the time to report and fix this issue.

Status: Fixed » Closed (fixed)

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