]> git.koha-community.org Git - koha.git/commit
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)
commit9df2a4a8fc24ebb693ffb80a218b12137f8b282d
treefb8dc13c2af92f97c9f38bb4c378bed0058e5965
parent12c116236f0f686005bbe035659778012bcaf862
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>
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]