Tomas Cohen Arazi
ddd6f6917b
This patch makes t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Sponsored-by: ByWater Solutions Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> |
||
---|---|---|
.. | ||
IssuingRules | ||
AnonymiseIssueHistory.t | ||
Branch.t | ||
CalcDateDue.t | ||
CalcFine.t | ||
CheckIfIssuedToPatron.t | ||
CheckValidBarcode.t | ||
dateexpiry.t | ||
GetHardDueDate.t | ||
GetIssues.t | ||
GetTopIssues.t | ||
IsItemIssued.t | ||
issue.t | ||
MarkIssueReturned.t | ||
NoIssuesChargeGuarantees.t | ||
OfflineOperation.t | ||
Returns.t | ||
SwitchOnSiteCheckouts.t | ||
TooMany.t | ||
transfers.t |