Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

unit test should not access live database #897

Closed
robocoder opened this Issue · 3 comments

1 participant

Anthon Pang
Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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.

Anthon Pang
Collaborator

This just bothered me too much...

Anthon Pang
Collaborator

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

Anthon Pang robocoder added this to the Piwik 0.4.3 milestone
Anthon Pang 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.