Ticket #271 (closed defect: fixed)

Opened 13 months ago

Last modified 12 months ago

standardise database and index clearing in tests.

Reported by: bob Owned by: Nobody
Priority: normal Milestone:
Component: openguides Version: svn
Severity: normal Keywords: patch
Cc:

Description

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.

Attachments

use_refresh_db.patch (44.3 kB) - added by bob 13 months ago.

Change History

Changed 13 months ago by bob

Changed 12 months ago by dom

  • keywords patch added

Changed 12 months ago by dom

  • status changed from new to closed
  • resolution set to fixed

(In [1273]) test cleanups for refreshing the test db (thanks bob) (fixes #271)

Note: See TracTickets for help on using tickets.