Opened 12 years ago

Closed 12 years ago

#271 closed defect (fixed)

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 (1)

use_refresh_db.patch (44.3 KB) - added by bob 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by bob

Attachment: use_refresh_db.patch added

comment:1 Changed 12 years ago by Dominic Hargreaves

Keywords: patch added

comment:2 Changed 12 years ago by Dominic Hargreaves

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.