Koha/t/db_dependent
Tomas Cohen Arazi ea59b648f1
Bug 23677: Unit tests
This patch introduces tests for the GET /biblios/{biblio_id} endpoint.
It tries to cover all the use cases.

To test:
- Apply this patchset
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass!
- Use Postman (or your favourite tool) to test the API
=> SUCCESS: Works as expected!
- Sign off :-D

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-08 14:33:34 +01:00
..
Acquisition Bug 21364: (follow-up) Check for standing status and uncertain prices 2019-04-30 12:45:42 +00:00
api/v1 Bug 23677: Unit tests 2019-10-08 14:33:34 +01:00
Auth Bug 20128: (QA follow-up) Corrections to haspermission 2019-04-17 12:25:26 +00:00
Authority
Biblio Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
Circulation Bug 23679: add Unit Test t/db_dependent/Circulation/transferbook.t 2019-10-01 07:37:57 +01:00
CourseReserves Bug 22142: Do not revert data if 'unchanged' was set 2019-08-13 11:22:13 +01:00
Creators
cronjobs Bug 20478: (QA follow-up) Make test more standard 2019-03-22 19:46:31 +00:00
data Bug 11677: Use zebra not-onloan-count index for availability limit 2019-08-20 15:00:16 +01:00
Exporter
Holds Bug 18928: Update new occurrences 2019-07-01 14:57:10 +01:00
Illrequest
Items Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
Koha Bug 20589: (RM follow-up) Fix Koha::SearchField.t 2019-10-03 14:17:32 +01:00
Labels
LDAP
Letters
Members
OAI
Patron Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00
Record
Reports Bug 23389: Add 'All' option to report dropdowns 2019-10-07 14:09:10 +01:00
Reserves Bug 21181: Unit tests 2019-07-05 08:39:09 +01:00
Search
selenium Bug 23039: (RM follow-up) Fix basic_workflow test 2019-10-07 14:09:10 +01:00
Serials
SIP Bug 22610: (QA follow-up) Add unit tests for FeePayment 2019-08-05 15:03:05 +01:00
Template/Plugin Bug 22688: (follow-up) Unit tests 2019-04-16 13:17:32 +00:00
Utils
www
XSLT_Handler
00-strict.t
01-test_dbic.t
Accounts.t Bug 22563: (QA follow-up) Use issue_id in chargelostitem 2019-07-15 11:28:02 +01:00
Acquisition.t Bug 14669: Add search option for managing library to orders search 2019-10-08 14:04:48 +01:00
Amazon.t
ArticleRequests.t
AudioAlerts.t
Auth.t Bug 22692: (RM follow-up) Adjust test count 2019-05-02 13:40:07 +00:00
Auth_with_cas.t
Auth_with_ldap.t
AuthorisedValues.t Bug 23272: Adapt controller and tests 2019-09-13 08:04:15 +01:00
AuthoritiesMarc.t
BackgroundJob.t
Barcodes.t
Barcodes_ValueBuilder.t Bug 21937: Add test to show autoBarcode annual increment bug 2019-04-19 14:32:17 +00:00
Biblio.t Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
Bookseller.t
Breeding.t
Budgets.t Bug 10577: Improve semantics of GetBudgetPeriod() 2019-03-28 12:46:14 +00:00
Cache.t Bug 22808: Move Cache.t to db_dependent 2019-05-07 10:50:00 +00:00
Calendar.t
Charset.t Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
check_kohastructure.t
check_sysprefs.t
Circulation.t Bug 21985: Fix further occurences 2019-10-03 10:26:33 +01:00
Clubs.t
ColumnsSettings.t
Context.t
Contract.t
CourseReserves.t
db_structure.t
DecreaseLoanHighHolds.t
default_search_class.pl
Filter_MARC_ViewPolicy.t Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
Fines.t
FrameworkPlugin.t
Heading.t
Heading_MARC21.t
Hold.t
Holds.t Bug 18928: Move holdallowed, hold_fulfillment_policy, returnbranch to circulation_rules 2019-07-01 14:56:44 +01:00
HoldsQueue.t Bug 18928: Move holdallowed, hold_fulfillment_policy, returnbranch to circulation_rules 2019-07-01 14:56:44 +01:00
Holidays.t
Illcomments.t
Illrequestattributes.t
Illrequests.t Bug 22280: Add a unit test 2019-10-01 14:44:50 +01:00
ILSDI_Services.t Bug 23156: Add pagination to checkouts in ILS-DI GetPatronInfo service 2019-06-25 17:16:26 +01:00
Images.t
ImportBatch.t Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
ImportExportFramework.t
Installer.t Bug 22472: Add tests 2019-04-11 13:34:09 +00:00
Items.t Bug 14570: (follow-up) Fix tests 2019-08-20 16:05:19 +01:00
Items_DelItemCheck.t
Koha.t
Koha_Authority.t
Koha_Database.t
Koha_Elasticsearch.t Bug 18235: (follow-up) fix tests and remove trailing space 2019-03-28 15:57:32 +00:00
Koha_ExternalContent_OverDrive.t
Koha_ExternalContent_RecordedBooks.t
Koha_Misc_Files.t
Languages.t Bug 18213: Add language facets to Elasticsearch 2019-03-28 15:57:32 +00:00
Letters.t Bug 8000: (QA follow-up) Two lastminute fixes 2019-04-29 15:08:47 +00:00
LibraryGroups.t
Linker_Default.t Bug 21450: (QA follow-up) remove a couple of unused variables to make QA script happy 2019-05-30 10:13:38 +00:00
Linker_FirstMatch.t
Log.t Bug 22917: Fix typo in another test file 2019-05-23 14:47:41 +00:00
MarcModificationTemplates.t
Members.t Bug 14570: (QA follow-up) Fix tests 2019-08-20 16:06:20 +01:00
MungeMarcPrice.t
NewsChannels.t
Overdues.t Bug 22521: Update fines handling to use accountline.status 2019-04-17 16:49:36 +00:00
Passwordrecovery.t
Patroncards.t Bug 22878: Add tests 2019-05-15 12:10:52 +00:00
PatronLists.t
Patrons.t
QueryParser.t
Record.t
RecordProcessor_EmbedSeeFromHeadings.t
RefundLostItemFeeRule.t Bug 18930: (RM follow-up) Restore primary key find 2019-07-16 13:53:54 +01:00
Reports.t
Reserves.t Bug 14549: Unit tests 2019-08-05 11:38:43 +01:00
rollingloans.t
RotatingCollections.t
Search.t Bug 11677: Use zebra not-onloan-count index for availability limit 2019-08-20 15:00:16 +01:00
Serials.t Bug 23416: Add PreserveSerialNotes system preference 2019-08-12 14:35:18 +01:00
Serials_2.t
Service.t
ShelfBrowser.t
Sitemapper.t
Stats.t Bug 21683: (follow-up) Remove last occurences of statistics.proccode 2019-03-21 18:19:23 +00:00
StockRotationItems.t
StockRotationRotas.t
StockRotationStages.t
SuggestionEngine_ExplodedTerms.t
Suggestions.t Bug 23027: Make Suggestions.t pass even if no biblio in DB 2019-06-06 15:24:49 +01:00
sysprefs.t
Tags.t
Templates.t
TestBuilder.t Bug 18928: (QA follow-up) Remove DBIC files and reference to DefaultCircRule 2019-07-01 15:00:01 +01:00
Upload.t
UsageStats.t Bug 14576: Unit tests 2019-04-25 11:36:24 +00:00
Virtualshelves.t
XISBN.t Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
XSLT_Handler.t
zebra_config.pl