From 4e99c1bc857a63fd27baa851a1ae1b533467dff4 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 9 Aug 2024 15:48:11 +0000 Subject: [PATCH] Bug 36758: (QA follow-up) Fix some typos Signed-off-by: Katrin Fischer --- installer/data/mysql/en/mandatory/sample_notices.yml | 2 +- t/db_dependent/Koha/Ticket.t | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index f075667e98..7e63d16241 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -74,7 +74,7 @@ tables: - "[%- PROCESS 'html_helpers.inc' -%]" - "[%- USE Koha -%]" - "Dear cataloger,
" - - "[%- INCLUDE 'patron-title.inc' patron => libraian -%] has assigned the following concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%] to you
" + - "[%- INCLUDE 'patron-title.inc' patron => librarian -%] has assigned the following concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%] to you
" - "
" - "[%- ticket.body -%]
" - "
" diff --git a/t/db_dependent/Koha/Ticket.t b/t/db_dependent/Koha/Ticket.t index d559d01d15..18c774c552 100755 --- a/t/db_dependent/Koha/Ticket.t +++ b/t/db_dependent/Koha/Ticket.t @@ -275,7 +275,7 @@ subtest 'store() tests' => sub { my $notices = Koha::Notice::Messages->search( { borrowernumber => $assignee->id } ); is( $notices->count, 1, - 'One assignement notice queued for the ticket assignee at ticket creation' ); + 'One assignment notice queued for the ticket assignee at ticket creation' ); my $THE_notice = $notices->next; isnt( $THE_notice->status, 'pending', 'Assignment notice is sent immediately' ); @@ -299,7 +299,7 @@ subtest 'store() tests' => sub { $notices = Koha::Notice::Messages->search( { borrowernumber => $assignee2->id } ); is( $notices->count, 1, - 'New assignement notice queued for a change of ticket assignee' ); + 'New assignment notice queued for a change of ticket assignee' ); $new_ticket->set({ assignee_id => $librarian->id })->store(); $notices = -- 2.39.5