Bug 31145: Supply defaults for vendors and funds
authorNick Clemens <nick@bywatersolutions.com>
Tue, 12 Jul 2022 18:52:21 +0000 (18:52 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 13 Jul 2022 13:35:16 +0000 (10:35 -0300)
commitb306cb47ce4e578ceeb7364b9fef0b57767a052e
tree85853297e2205ce95c425eb3630577986ab355e0
parentf58099a2440a8482b09ae14df89c1cd6eb43c5d6
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>
t/lib/TestBuilder.pm