Bugzilla – Attachment 165156 Details for
Bug 36093
Fix missing array reference in provider rollup reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36093: (QA follow-up) Fix unit tests
Bug-36093-QA-follow-up-Fix-unit-tests.patch (text/plain), 3.72 KB, created by
Matt Blenkinsop
on 2024-04-19 09:03:21 UTC
(
hide
)
Description:
Bug 36093: (QA follow-up) Fix unit tests
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-04-19 09:03:21 UTC
Size:
3.72 KB
patch
obsolete
>From 6c6317df73283d7430cbdfe1f56babfdbb94f69d Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Fri, 19 Apr 2024 09:02:13 +0000 >Subject: [PATCH] Bug 36093: (QA follow-up) Fix unit tests > >This patch removes some unnecessary lines from the test file >--- > t/db_dependent/api/v1/erm_custom_reports.t | 12 ------------ > 1 file changed, 12 deletions(-) > >diff --git a/t/db_dependent/api/v1/erm_custom_reports.t b/t/db_dependent/api/v1/erm_custom_reports.t >index 5c64565063..1317c61761 100755 >--- a/t/db_dependent/api/v1/erm_custom_reports.t >+++ b/t/db_dependent/api/v1/erm_custom_reports.t >@@ -50,8 +50,6 @@ subtest "monthly_report" => sub { > > $schema->storage->txn_begin; > >- Koha::ERM::EUsage::MonthlyUsages->search->delete; >- > # Run a harvest to populate the database with data > my $usage_data_provider = $builder->build_object( { class => 'Koha::ERM::EUsage::UsageDataProviders' } ); > my $counter_file = $sushi_counter_TR_J1->get_COUNTER_from_SUSHI; >@@ -61,7 +59,6 @@ subtest "monthly_report" => sub { > { > usage_data_provider_id => $usage_data_provider->erm_usage_data_provider_id, > file_content => $counter_file, >- date_uploaded => POSIX::strftime( "%Y%m%d%H%M%S", localtime ), > filename => "Test_TR_J1", > } > ] >@@ -151,8 +148,6 @@ subtest "yearly_report" => sub { > > $schema->storage->txn_begin; > >- Koha::ERM::EUsage::YearlyUsages->search->delete; >- > # Run a harvest to populate the database with data > my $usage_data_provider = $builder->build_object( { class => 'Koha::ERM::EUsage::UsageDataProviders' } ); > my $counter_file = $sushi_counter_TR_J1->get_COUNTER_from_SUSHI; >@@ -162,7 +157,6 @@ subtest "yearly_report" => sub { > { > usage_data_provider_id => $usage_data_provider->erm_usage_data_provider_id, > file_content => $counter_file, >- date_uploaded => POSIX::strftime( "%Y%m%d%H%M%S", localtime ), > filename => "Test_TR_J1", > } > ] >@@ -243,8 +237,6 @@ subtest "metric_types_report" => sub { > > $schema->storage->txn_begin; > >- Koha::ERM::EUsage::MonthlyUsages->search->delete; >- > # Run a harvest to populate the database with data > my $usage_data_provider = $builder->build_object( { class => 'Koha::ERM::EUsage::UsageDataProviders' } ); > my $counter_file = $sushi_counter_TR_J1->get_COUNTER_from_SUSHI; >@@ -254,7 +246,6 @@ subtest "metric_types_report" => sub { > { > usage_data_provider_id => $usage_data_provider->erm_usage_data_provider_id, > file_content => $counter_file, >- date_uploaded => POSIX::strftime( "%Y%m%d%H%M%S", localtime ), > filename => "Test_TR_J1", > } > ] >@@ -341,8 +332,6 @@ subtest "provider_rollup_report" => sub { > > $schema->storage->txn_begin; > >- Koha::ERM::EUsage::MonthlyUsages->search->delete; >- > # Run a harvest to populate the database with data > my $usage_data_provider = $builder->build_object( { class => 'Koha::ERM::EUsage::UsageDataProviders' } ); > my $counter_file = $sushi_counter_TR_J1->get_COUNTER_from_SUSHI; >@@ -352,7 +341,6 @@ subtest "provider_rollup_report" => sub { > { > usage_data_provider_id => $usage_data_provider->erm_usage_data_provider_id, > file_content => $counter_file, >- date_uploaded => POSIX::strftime( "%Y%m%d%H%M%S", localtime ), > filename => "Test_TR_J1", > } > ] >-- >2.37.1 (Apple Git-137.1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36093
:
162145
|
162199
|
162655
|
165156
|
165159
|
165160
|
165161