Skip to content


Tracker plugin unit test example #957

robocoder opened this Issue · 1 comment

1 participant



  • Piwik_Tracker_Config: add setTestEnvironment()
  • Database.test.php and/or PluginsManager.php: we can call Provider::install to create the missing columns in log_visit table, but I think we should refactor this since those columns are referenced in Visit.php (via Tracker.newVisitorInformation hook)
  • Tracker cookie management: headers already sent

In [1447], fixes #957 - add setTestEnvironment(); other "gotchas" are handled in the subclassed Visit object

@robocoder robocoder added this to the Piwik 0.4.4 milestone
@robocoder robocoder self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.