Bug 9133

Summary: We need a data set for db dependent tests
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: Test SuiteAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Tomás Cohen Arazi 2012-11-22 13:35:33 UTC
Introducing special test cases in db-dependent tests might introduce garbage to the provided sample data.

The example of testing all holiday definition use cases should be a good example of garbage in sample data.

Other way of dealing with this might be mocking.
Comment 1 Tomás Cohen Arazi 2013-06-17 14:43:21 UTC
Closing this bug. Mocked tests are provided, and jenkins takes care of "real DB" tests.