[Koha-bugs] [Bug 15199] t/db_dependent/Review.t should not depend on existing data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 17 17:20:31 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15199

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #44909|0                           |1
        is obsolete|                            |

--- Comment #2 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 44912
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44912&action=edit
[SIGNED-OFF]Bug 15199: t/db_dependent/Review.t should not depend on existing
data

This patch makes the tests create a branch and a patron category instead
of searching for them on the DB.

To test:
- Apply the patch on current master
- Run
  $ prove t/db_dependent/Review.t
=> SUCCESS: Tests pass
- Sign off

Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
All test pass successful

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list