Koha-clms/t/db_dependent/Koha
Tomas Cohen Arazi b6de10944c Bug 17932: (followup) Tidy tests
This patch makes the tests create its own data instead of searching the
DB for a branchcode and a categorycode. It does so on each subtest,
because there shouldn't be side effects between subtests.

I also wrapped each subtest inside a transaction, for the same reason.

To test:
- Apply this patch
- Run:
  $ prove t/db_dependent/Koha/Object.t
=> SUCCESS: Tests return green with this patch
- Sign off :-D

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-02-17 15:33:01 +00:00
..
Acquisition Bug 16053: Add tests 2016-03-21 21:35:04 +00:00
Item Bug 16686: Add test for Koha::Item::Transfer[s] and Koha::Item->get_transfer 2016-09-02 13:56:03 +00:00
Patron Bug 17767: (followup) Rename test file 2016-12-28 13:53:03 +00:00
Authorities.t Bug 17935: Adjust some POD lines, fix a few typos 2017-02-14 14:12:50 +00:00
BiblioFrameworks.t Bug 16155: [QA Follow-up] Add transaction to BiblioFrameworks.t 2016-05-04 13:47:58 +00:00
BiblioUtils.t Bug 12478: fix some issues on rebase 2016-04-26 20:20:09 +00:00
Biblios.t Bug 17630: Add the Koha::Biblio->holds method 2016-12-16 14:51:53 +00:00
Checkouts.t Bug 17973: Add the Koha::Checkout->item method 2017-02-17 12:11:30 +00:00
Cities.t
…
CsvProfiles.t Bug 15451: Add the 2 new modules Koha::CsvProfile[s] 2016-07-22 17:18:34 +00:00
GetDailyQuote.t
…
IsKohaFieldLinked.t
…
IssuingRules.t Bug 17783: Replace ok with is 2016-12-23 12:01:57 +00:00
ItemTypes.t Bug 12748: (QA followup) make new tests pass 2016-04-26 20:20:14 +00:00
Items.t Bug 17974: Add the Koha::Item->biblio method 2017-02-17 12:11:54 +00:00
Libraries.t Bug 15629: Koha::Libraries - Remove GetBranchesInCategory (1) 2016-02-24 03:55:05 +00:00
MarcSubfieldStructures.t Bug 17249: Remove GetKohaAuthorisedValuesFromField - Add classes MarcSubfieldStructure[s] 2016-10-21 15:13:55 +00:00
News.t Bug 17960: Add opac_news.content values in tests 2017-02-06 17:42:13 +00:00
Notices.t Bug 17958: Add tests for Koha::Notice::Template[s] 2017-02-17 11:44:34 +00:00
Object.t Bug 17932: (followup) Tidy tests 2017-02-17 15:33:01 +00:00
Objects.t Bug 17783: Add Koha::Objects->single 2016-12-23 12:01:56 +00:00
Patrons.t Bug 17933: Add test and return unless defined dob 2017-02-17 11:22:09 +00:00
Ratings.t Bug 17089: [QA Follow-up] Add some test descriptions to Ratings.t 2016-09-09 09:31:30 +00:00
Reviews.t Bug 15839: Koha::Reviews - Remove approvereview & unapprovereview 2016-09-09 10:29:57 +00:00
SMS_Providers.t
…
Suggestions.t Bug 14757: Add tests for new modules 2016-07-08 13:47:42 +00:00