Bug 31145: Supply defaults for vendors and funds
authorNick Clemens <nick@bywatersolutions.com>
Tue, 12 Jul 2022 18:52:21 +0000 (18:52 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 15:59:16 +0000 (15:59 +0000)
commit9d251e587cf05900a9527e28793f664c994c43c4
tree00ef73d45979939f16bf79f4f643c0747275aa5c
parent3f0a70a271bda696b9e39b162faca1c504a980b8
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>
t/lib/TestBuilder.pm