#271: standardise database and index clearing in tests. ------------------------+--------------------------------------------------- Reporter: bob | Owner: Nobody Type: defect | Status: new Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Keywords: ------------------------+--------------------------------------------------- In the test suite we currently have a mishmash of ways to clean up and recreate the db and indexes between test files. the attached patch adds refresh_db to Openguides::Test and then uses it through out the test suite.
the patch also adds use strict to some test files which were missing it. Also fixes a warning for test 87.
#271: standardise database and index clearing in tests. ------------------------+--------------------------------------------------- Reporter: bob | Owner: Nobody Type: defect | Status: new Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: Keywords: patch | ------------------------+--------------------------------------------------- Changes (by dom):
* keywords: => patch
#271: standardise database and index clearing in tests. ------------------------+--------------------------------------------------- Reporter: bob | Owner: Nobody Type: defect | Status: closed Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: fixed Keywords: patch | ------------------------+--------------------------------------------------- Changes (by dom):
* status: new => closed * resolution: => fixed
Comment:
(In [1273]) test cleanups for refreshing the test db (thanks bob) (fixes #271)
openguides-tickets@lists.openguides.org