I'm trying to get tests for the Commerce Event Ticket module to run on qa.d.o. They are failing:
https://qa.drupal.org/pifr/test/804863
They run fine locally on a fresh D7 install (admittedly on PHP 5.5 but I think it would be clear if the PHP version was the problem here).
The error messages (on the testbot) start with:
Fatal error: Call to undefined function commerce_product_load() in /var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/commerce/tests/commerce_base.test on line 368
which indicates that the setUp() stage is not working - Commerce modules are not getting enabled properly.
Yet, if I compare the failing tests:
http://cgit.drupalcode.org/commerce_event_ticket/tree/tests/commerce_eve...
with another Commerce-based project of mine where the tests pass:
http://cgit.drupalcode.org/commerce_stock_reserve/tree/tests/commerce_st...
there is very little difference.
Comments
Comment #1
pjcdawkins commentedGot them to fail locally too...
Comment #2
pjcdawkins commentedStill passing locally, failing on testbot. One test fails on simplytest.me (again, at the set-up stage), the others pass.
I'm still stumped.
Comment #3
joelpittetI'm seeing this too!
https://qa.drupal.org/pifr/test/1041018
Probably something I've missed... did you resolve this?
Comment #4
pjcdawkins commentedWell it's a dependency issue, that should be present because "entity" is in the dependencies. For some reason the testbot doesn't install it
Comment #5
joelpittetYeah that's what I thought! Moving this to bug report as I think it has enough information to support that.
Comment #6
joelpittetI've opened a new issue as it's similar but not the same #2490991: Tests pass locally and not on testbot: commerce_discount
Comment #7
MixologicIf dependencies are still an issue with this, please feel free to reopen. I'll assume they are not as I see passing branch tests now.