Koha-clms/t/db_dependent/Koha
Jonathan Druart 573d9dafc1 Bug 21597: Field 'description' doesn't have a default value
Nick proposed another fix, see bug 21594.
The interface does not explode so I do not think we should make a DB
update in a rush.

Fix t/db_dependent/Koha/Object.t and t/db_dependent/Koha/ApiKeys.t

api_keys.description and api_keys.secret:
  `secret` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,

    #   Failed test 'Exception is thrown correctly'
    #   at t/db_dependent/Koha/Object.t line 262.
    # expecting: Koha::Exceptions::Object::FKConstraint
    # found: DBIx::Class::Exception (DBIx::Class::Storage::DBI::_dbh_execute(): Field 'description' doesn't have a default value at /home/vagrant/kohaclone/Koha/Object.pm line 125
    # )
    # Looks like you planned 7 tests but ran 1.
    # Looks like you failed 1 test of 1 run.

and later, but not related:
Can't locate object method "message" via package
"DBIx::Class::Exception" at t/db_dependent/Koha/Object.t line 264.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-10-18 14:18:00 +00:00
..
Account Bug 20997: (QA follow-up) POD fixes and offset type consistency 2018-08-10 12:30:36 +00:00
Acquisition Bug 20366: Add new method Koha::Acquisition::Basket->basket_group 2018-08-30 13:48:08 +00:00
Filter
…
IssuingRules Bug 17530: (QA follow-up) Add pref ArticleRequestsLinkControl 2018-09-07 13:16:10 +00:00
Item
…
Library Bug 21082: Add new admin page for overdrive 2018-10-09 11:04:23 +00:00
Patron Bug 20819: Add Koha object classes for patron consents 2018-09-20 13:45:25 +00:00
Patrons Bug 20404: Fix Patrons/Import.t 2018-05-14 12:25:42 -03:00
REST Bug 21334: Unit tests 2018-09-14 20:30:47 +00:00
SearchEngine Bug 19604: Unit tests 2018-07-19 17:23:55 +00:00
Subscription Bug 20400: Add routing list tab in OPAC 2018-04-20 13:34:41 -03:00
Template/Plugin Bug 21352: Allow plugins to add CSS and Javascript to Staff interface 2018-10-03 17:45:57 +00:00
Account.t Bug 20990: (QA follow-up) make outstanding_credits return the account lines only 2018-07-13 10:34:32 +00:00
ApiKeys.t Bug 21597: Field 'description' doesn't have a default value 2018-10-18 14:18:00 +00:00
Authorities.t Bug 14769: Put ControlledIndicators to work 2018-04-12 10:50:35 -03:00
BiblioFrameworks.t
…
BiblioUtils.t
…
Biblios.t Bug 21133: Fix use statements order 2018-07-31 16:28:02 -03:00
Checkouts.t Bug 21432: (bug 20899 follow-up) Fix patron's name display for deleted patrons 2018-10-03 17:18:44 +00:00
CirculationRules.t Bug 18887: Add tests 2018-10-03 17:58:17 +00:00
Cities.t
…
ClassSortRules.t Bug 19929: Add Koha objects for class sources and sorters 2018-03-23 11:45:38 -03:00
ClassSources.t Bug 19929: Add Koha objects for class sources and sorters 2018-03-23 11:45:38 -03:00
CsvProfiles.t
…
GetDailyQuote.t Bug 21355: Prevent GetDailyQuote.t to fail when run after 23:00 2018-09-15 21:19:30 +00:00
Holds.t
…
IssuingRules.t
…
ItemTypes.t
…
Items.t Bug 18072: Only accept Koha::Library in parameters 2018-07-18 17:42:47 +00:00
Libraries.t Bug 11897: Stockrotation 2018-10-09 15:46:05 +00:00
MarcSubfieldStructures.t
…
News.t
…
Notices.t
…
Object.t Bug 21597: Field 'description' doesn't have a default value 2018-10-18 14:18:00 +00:00
Objects.t Bug 20767: Display a stack trace when a method is not covered by tests 2018-05-29 13:54:30 +00:00
Patrons.t Bug 21337: Koha::Objects->delete must return the number of deleted rows 2018-10-15 17:53:15 +00:00
Ratings.t
…
Reports.t Bug 20052: (follow-up) Fix QA tool complaints and bad copy 2018-04-02 18:08:06 -03:00
Reviews.t
…
SMS_Providers.t
…
Subscription.t Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
Suggestions.t
…
Z3950Servers.t Bug 20047: Add Koha::Z3950Server Oject and use it to get server count 2018-04-20 13:34:41 -03:00