I'm trying to add test to my own module that depend on the RESTClient module with file mode to have static data. Since all of my request contain the current timestamp in the header, the file name is always unique. Changing the call to module_invoke_all with a call to drupal_alter would let me implement the alter hook to remove the header from the options to generate a file name that does not change for every request.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fprevos2 created an issue. See original summary.

fprevos2’s picture

fprevos2’s picture

Status: Active » Needs review
fprevos2’s picture

I also had to remove the define for the RESTCLIENT_ACTIVE_LIBRARY since it was not picking up the value from the variable_set call in the test setUp function.