Koha-clms/t/db_dependent/Serials
Marcel de Rooy bc3ecf72b3 Bug 18697: Final polishing
GetFictiveIssueNumber:
Returns undef instead of 0 for irregular frequencies. Also added to POD.
Removed unused variable $wkno.
Adding a return makes the if(unit) unneeded.
Replaced (a+b)/b by 1+a/b.

_delta_units:
Added a comment about its parameters.

GetFictiveIssueNumber.t:
Adjusted the tests for irregular frequencies accordingly.

Test plan:
[1] Run t/db_dependent/Serials/GetFictiveIssueNumber.t
[2] Run t/db_dependent/Serials/GetNextDate.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
2017-07-31 01:02:07 +12:00
..
Claims.t Bug 12178: Update serial status to "claimed" when exporting to CSV 2016-08-01 11:49:39 +02:00
Frequency.t Bug 15168: (followup) remove useless diags 2015-11-17 15:47:46 -03:00
GetFictiveIssueNumber.t Bug 18697: Final polishing 2017-07-31 01:02:07 +12:00
GetNextDate.t Bug 18697: Adjusting unit tests for weekly serial frequencies 2017-07-31 01:02:07 +12:00
GetNextSeq.t Bug 7688: (follow-up) rewrite 'for' loop in unit tests 2013-10-30 00:38:52 +00:00
Numberpattern.t Bug 15168: (followup) remove useless diags 2015-11-17 15:47:46 -03:00
ReNewSubscription.t Bug 7728: QA fixes 2017-04-24 11:08:33 +12:00