Bug 5477 [SIGN-OFF] Fix test cases that require database access
authorRobin Sheat <robin@catalyst.net.nz>
Fri, 28 Jan 2011 19:04:08 +0000 (14:04 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 29 Jan 2011 04:02:31 +0000 (17:02 +1300)
Bug 5477 [SIGN-OFF] Fix test cases that require database access

This moves the DB-requiring tests out of the way, with the exception of
00-load.t which is used by the git hooks. For it, it makes it skip
loading problematic modules. This allows 'make test' to complete successfully
without a database configured, wich is a required part of making packages.

This has been tested against the v3.02.03 tag and the master branch.

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
12 files changed:
t/db_dependent/Auth.t [moved from t/Auth.t with 100% similarity]
t/db_dependent/Auth_with_cas.t [moved from t/Auth_with_cas.t with 100% similarity]
t/db_dependent/BackgroundJob.t [moved from t/BackgroundJob.t with 100% similarity]
t/db_dependent/External_BakerTaylor.t [moved from t/External_BakerTaylor.t with 100% similarity]
t/db_dependent/Record.t [moved from t/Record.t with 100% similarity]
t/db_dependent/Reports_Guided.t [moved from t/Reports_Guided.t with 100% similarity]
t/db_dependent/Serials_2.t [moved from t/Serials.t with 100% similarity]
t/db_dependent/Service.t [moved from t/Service.t with 100% similarity]
t/db_dependent/Tags.t [moved from t/Tags.t with 100% similarity]
t/db_dependent/UploadedFile.t [moved from t/UploadedFile.t with 100% similarity]
t/db_dependent/VirtualShelves_Page.t [moved from t/VirtualShelves_Page.t with 100% similarity]