Bug 31145: Supply defaults for vendors and funds
authorNick Clemens <nick@bywatersolutions.com>
Tue, 12 Jul 2022 18:52:21 +0000 (18:52 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 26 Aug 2022 08:08:45 +0000 (10:08 +0200)
commita9ecb7f3dbdb9d36a0703813cc5cf04b5274b819
treee73ce2f0185c999ec0d2c937aa457d3c9efc6790
parent3a46ff9702146b8def00c1c4000a316dc0fa10ed
Bug 31145: Supply defaults for vendors and funds

This is a convenience bug - when koha testing docker creates sample vendors and budgets there are small issues:

1 - The vendor website gets a random string - you can't edit the vendor without removing this
2 - The funds have random values for statistical categories, and you get empty dropdowns when choosing a fund in ordering

To test:
1 - Apply patch
2 - Restart all
3 - Edit 'My vendor'
4 - note webstie is empty and you can save without changing anythign
5 - Add order to basket for my vendor
6 - Confirm that when selecting a fund statistic 1 and statistic 2 remain as text input fields

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b306cb47ce4e578ceeb7364b9fef0b57767a052e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9d251e587cf05900a9527e28793f664c994c43c4)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
t/lib/TestBuilder.pm