unit test should not access live database #897

Closed
robocoder opened this Issue Aug 3, 2009 · 3 comments

1 participant

@robocoder

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).

@robocoder

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.

@robocoder

This just bothered me too much...

@robocoder

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

@robocoder robocoder added this to the Piwik 0.4.3 milestone Jul 8, 2014
@robocoder robocoder self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment