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
api/v1 Bug 23677: Unit tests 2019-10-08 14:33:34 +01:00
Auth
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
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
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
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
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
Cache.t
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
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
Koha_ExternalContent_OverDrive.t
Koha_ExternalContent_RecordedBooks.t
Koha_Misc_Files.t
Languages.t
Letters.t
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
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
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
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