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 Nighswonger <chris.nighswonger@gmail.com>
Sun, 30 Jan 2011 00:57:31 +0000 (19:57 -0500)
commitda11b6d98625783c3ee30edb40b8180aa9814210
treefa3e56d9a107cf623b7b21e095f760b9627ea390
parentcc3ba2c1abc3f58fbc5fffc7bf2bc098b854dcc9
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>
(cherry picked from commit 9df2a4a8fc24ebb693ffb80a218b12137f8b282d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
23 files changed:
t/00-load.t
t/Auth.t [deleted file]
t/Auth_with_cas.t [deleted file]
t/BackgroundJob.t [deleted file]
t/External_BakerTaylor.t [deleted file]
t/Record.t [deleted file]
t/Reports_Guided.t [deleted file]
t/Serials.t [deleted file]
t/Service.t [deleted file]
t/Tags.t [deleted file]
t/UploadedFile.t [deleted file]
t/VirtualShelves_Page.t [deleted file]
t/db_dependent/Auth.t [new file with mode: 0644]
t/db_dependent/Auth_with_cas.t [new file with mode: 0755]
t/db_dependent/BackgroundJob.t [new file with mode: 0644]
t/db_dependent/External_BakerTaylor.t [new file with mode: 0755]
t/db_dependent/Record.t [new file with mode: 0755]
t/db_dependent/Reports_Guided.t [new file with mode: 0755]
t/db_dependent/Serials_2.t [new file with mode: 0644]
t/db_dependent/Service.t [new file with mode: 0755]
t/db_dependent/Tags.t [new file with mode: 0755]
t/db_dependent/UploadedFile.t [new file with mode: 0755]
t/db_dependent/VirtualShelves_Page.t [new file with mode: 0755]