Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#897 closed Bug (fixed)

unit test should not access live database

Reported by: vipsoft Owned by: vipsoft
Priority: low Milestone: Piwik 0.4.3
Component: Core Keywords:
Cc: Sensitive:

Description

This is not normally a problem for most users since releases do not include the unit tests.

For the benefit of developers, however...

While fixing #896, I noticed version_core in my live database got munged. When I revisited the dashboard, it prompted a database upgrade (from 0.2.9).

Change History (5)

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

  • Summary changed from unit test munges live database to unit test should not access live database

Munging of piwik_option table doesn't appear to be reproduceable after #896.

However, API/DocumentationGenerator.test.php continues to access the live database. If possible, this should be changed.

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

  • Milestone changed from 2- DigitalVibes to 1 - Piwik 0.4.3

This just bothered me too much...

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

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

(In [1360]) fixes #897 - unit tests should not access live database

comment:4 Changed 5 years ago by koteiko

comment:5 Changed 5 years ago by koteiko

Note: See TracTickets for help on using tickets.