From 36f795639538dabc11f44628e5ef998cc9de6170 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Mon, 2 Mar 2020 07:04:54 +0000 Subject: [PATCH] Bug 22544: (QA follow-up) Fix spelling Signed-off-by: Josef Moravec --- t/db_dependent/Koha/News.t | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/t/db_dependent/Koha/News.t b/t/db_dependent/Koha/News.t index 29ddbbc88d..e87835a0a3 100755 --- a/t/db_dependent/Koha/News.t +++ b/t/db_dependent/Koha/News.t @@ -71,7 +71,7 @@ subtest '->is_expired' => sub { my $today = dt_from_string; my $yesterday = dt_from_string->add( days => -1 ); - my $tommorow = dt_from_string->add( days => 1 ); + my $tomorrow = dt_from_string->add( days => 1 ); my $new_today = $builder->build_object({ class => 'Koha::News', value => { @@ -87,7 +87,7 @@ subtest '->is_expired' => sub { my $new_not_expired = $builder->build_object({ class => 'Koha::News', value => { - expirationdate => $tommorow, + expirationdate => $tomorrow, } }); @@ -151,7 +151,7 @@ subtest '->search_for_display' => sub { my $today = dt_from_string; my $yesterday = dt_from_string->add( days => -1 ); - my $tommorow = dt_from_string->add( days => 1 ); + my $tomorrow = dt_from_string->add( days => 1 ); my $library1 = $builder->build_object({ class => 'Koha::Libraries' }); my $library2 = $builder->build_object({ class => 'Koha::Libraries' }); @@ -168,7 +168,7 @@ subtest '->search_for_display' => sub { my $new_not_expired = $builder->build_object({ class => 'Koha::News', value => { - expirationdate => $tommorow, + expirationdate => $tomorrow, timestamp => $today, lang => '', branchcode => undef, @@ -178,8 +178,8 @@ subtest '->search_for_display' => sub { my $new_not_active = $builder->build_object({ class => 'Koha::News', value => { - expirationdate => $tommorow, - timestamp => $tommorow, + expirationdate => $tomorrow, + timestamp => $tomorrow, lang => '', branchcode => undef, number => 3, @@ -188,7 +188,7 @@ subtest '->search_for_display' => sub { my $new_slip= $builder->build_object({ class => 'Koha::News', value => { - expirationdate => $tommorow, + expirationdate => $tomorrow, timestamp => $today, lang => 'slip', branchcode => $library1->branchcode, @@ -198,7 +198,7 @@ subtest '->search_for_display' => sub { my $new_intra = $builder->build_object({ class => 'Koha::News', value => { - expirationdate => $tommorow, + expirationdate => $tomorrow, timestamp => $today, lang => 'koha', branchcode => $library2->branchcode, @@ -208,7 +208,7 @@ subtest '->search_for_display' => sub { my $new_intra2 = $builder->build_object({ class => 'Koha::News', value => { - expirationdate => $tommorow, + expirationdate => $tomorrow, timestamp => $today, lang => 'koha', branchcode => undef, -- 2.20.1