[Koha-bugs] [Bug 17430] MarkIssueReturned.t should create its own data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 11:05:50 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17430

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 56233
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56233&action=edit
Bug 17430: Make MarkIssueReturned.t create its own data

This patch makes MarkIssueReturned.t use t::lib::TestBuilder to create
the data it needs.

To test:
- On master, have a category with categorycode = C
- Run:
  $ prove t/db_dependent/Circulation/MarkIssueReturned.t
=> FAIL: primary key problems make the tests fail
- Apply the patch
- Run:
  $ prove t/db_dependent/Circulation/MarkIssueReturned.t
=> SUCCESS: Tests are green!
- Sign off :-D

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


More information about the Koha-bugs mailing list