This patch makes t/db_dependent/Acquisition/CancelReceipt.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Acquisition/CancelReceipt.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Acquisition/CancelReceipt.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Sponsored-by: ByWater Solutions Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| CancelReceipt.t | ||
| FillWithDefaultValues.t | ||
| GetBasketsInfosByBookseller.t | ||
| GetOrdersByBiblionumber.t | ||
| Invoices.t | ||
| NewOrder.t | ||
| OrderFromSubscription.t | ||
| OrderUsers.t | ||
| StandingOrders.t | ||
| TransferOrder.t | ||
| close_reopen_basket.t | ||