Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#957 closed Bug (fixed)

Tracker plugin unit test example

Reported by: vipsoft Owned by: vipsoft
Priority: major Milestone: Piwik 0.4.4
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by vipsoft)

Gotchas:

  • 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


Change History (4)

comment:1 Changed 5 years ago by vipsoft (robocoder)

  • Owner set to vipsoft

comment:2 Changed 5 years ago by vipsoft (robocoder)

  • Description modified (diff)

comment:3 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:4 Changed 5 years ago by vipsoft (robocoder)

  • Milestone changed from 2 - Piwik 0.8 - A Web Analytics platform to 1 - Piwik 0.4.4
Note: See TracTickets for help on using tickets.