Skip to content

Fix #26 existing phpunit tests

Rich requested to merge artfulrobot/emailapi:artfulrobot-tests-fix into master

This fixes #26 (closed) by:

  • not assuming a default value for extra_data in the tokens code (that param is not required by the api3 spec and is not provided in the tests). This could also fix a bug in certain environments.
  • correcting the default empty value for phpunit assertEquals's 3rd param (message).

Merge request reports