To test this on the UI, you can add the following line of code at the beginning on 'new' in SushiCounter.pm:
->{response}->{Report_Header}->{Release} = 6;
This will force the release to be '6'. Then you can perform a harvest using the UI. The background job will fail with the error message saying that counter release 6 is not supported
prove t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t
Signed-off-by: Eric Phetteplace <phette23@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
|
||
|---|---|---|
| .. | ||
| COUNTER | ||
| CounterFile.pm | ||
| CounterFiles.pm | ||
| CounterLog.pm | ||
| CounterLogs.pm | ||
| DefaultUsageReport.pm | ||
| DefaultUsageReports.pm | ||
| MonthlyUsage.pm | ||
| MonthlyUsages.pm | ||
| SushiCounter.pm | ||
| UsageDataProvider.pm | ||
| UsageDataProviders.pm | ||
| UsageDatabase.pm | ||
| UsageDatabases.pm | ||
| UsageItem.pm | ||
| UsageItems.pm | ||
| UsagePlatform.pm | ||
| UsagePlatforms.pm | ||
| UsageTitle.pm | ||
| UsageTitles.pm | ||
| YearlyUsage.pm | ||
| YearlyUsages.pm | ||