Koha-clms/t/db_dependent/Koha
Jonathan Druart 26f20d64cb Bug 17069: Koha::Patron::Category->store must default checkprevcheckout to 'inherit'
Creating a new patron category raises an error "An error occurred when updating
this patron category. Perhaps it already exists."
DBIx::Class does not default to the value defined at the DB devel if the
key checkprevcheckout has been passed to the constructor.
We may need to provide a global fix for this kind of issue: if a column
is defined as "not null" but has a default value, the constructor
(Koha::Object->new) should not pass it to the DBIx::Class constructor
(even if assuming that null means default is a terrible mysqlism).

Test plan:
Create a new patron category.

Works as expected.
Signed-off-by: Marc <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-08-10 13:12:34 +00:00
..
Acquisition Bug 16053: Add tests 2016-03-21 21:35:04 +00:00
Item/Search
…
Patron Bug 17069: Koha::Patron::Category->store must default checkprevcheckout to 'inherit' 2016-08-10 13:12:34 +00:00
Authorities.t Bug 15380: Introduce Koha::Authorit[y|ies] and Koha::Authority::Type[s] 2015-12-31 18:50:41 +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
Checkouts.t Bug 14757: Add tests for new modules 2016-07-08 13:47:42 +00:00
Cities.t Bug 15081: (followup) Make test files using TestBuilder handle their transactions 2015-11-04 12:32:57 -03:00
CsvProfiles.t Bug 15451: Add the 2 new modules Koha::CsvProfile[s] 2016-07-22 17:18:34 +00:00
GetDailyQuote.t
…
GetKohaAuthorisedValuesMapping.t Bug 14057: Inventory is painfully slow 2015-05-06 10:40:23 -03:00
IsKohaFieldLinked.t
…
Issues.t Bug 16086: Add tests for Koha::Issues 2016-04-07 00:31:22 +00:00
ItemTypes.t Bug 12748: (QA followup) make new tests pass 2016-04-26 20:20:14 +00:00
Libraries.t Bug 15629: Koha::Libraries - Remove GetBranchesInCategory (1) 2016-02-24 03:55:05 +00:00
News.t Bug 14757: Add tests for new modules 2016-07-08 13:47:42 +00:00
Objects.t Bug 16889: Add Koha::Objects->columns 2016-07-15 18:12:12 +00:00
Patrons.t Bug 16853: Move changepassword to Koha::Patron->update_password 2016-07-15 18:09:17 +00:00
SMS_Providers.t Bug 9021 [QA Followup] - Unit tests 2016-02-14 12:40:07 +00:00
Suggestions.t Bug 14757: Add tests for new modules 2016-07-08 13:47:42 +00:00