Running tests produces a fatal error:

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /batch?id=20&op=do StatusText: OK ResponseText: ( ! ) Fatal error: Call to undefined function commerce_subscription_rules_update_subscription_status() in /home/keithm/public_html/commerce/docroot/sites/all/modules/commerce_subscription/tests/commerce_subscription.test on line 53 Call Stack #TimeMemoryFunctionLocation 10.0002642064{main}( )../index.php:0 20.273934861128menu_execute_active_handler( )../index.php:21 30.282636091976call_user_func_array ( )../menu.inc:503 40.282636092224system_batch_page( )../menu.inc:503 50.282636092224_batch_page( )../system.admin.inc:2284 60.282736095136_batch_do( )../batch.inc:80 70.282736095136_batch_process( )../batch.inc:161 80.284436222136call_user_func_array ( )../batch.inc:284 90.284436222176_simpletest_batch_operation( )../batch.inc:284 100.294137874472DrupalTestCase->run( )../simpletest.module:177 1133.958163347896CommerceSubscriptionRulesTestCase->testRulesUpdateSubscriptionStatus( )../drupal_web_test_case.php:478

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

keithm’s picture

I took a crack at a patch. Not sure if it's correct, though tests now run.