From 116e9d30454a3a72efe92e4422dcbf8874378e74 Mon Sep 17 00:00:00 2001
From: Koha instance kohadev-koha <kohadev-koha@kohadevbox>
Date: Wed, 17 Oct 2018 21:15:36 +0000
Subject: [PATCH] Bug 21503: Tests clarification for debugging
---
t/db_dependent/Template/Plugin/AuthorisedValues.t | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/t/db_dependent/Template/Plugin/AuthorisedValues.t b/t/db_dependent/Template/Plugin/AuthorisedValues.t
index ee27539dae..8d2382536b 100644
--- a/t/db_dependent/Template/Plugin/AuthorisedValues.t
+++ b/t/db_dependent/Template/Plugin/AuthorisedValues.t
@@ -124,16 +124,16 @@ subtest 'GetDescriptionByKohaField' => sub {
# Opac display
my $av = Koha::Template::Plugin::AuthorisedValues->GetDescriptionByKohaField(
{ opac => 1, kohafield => 'dummy.field', authorised_value => $av_1->authorised_value } );
- is( $av, 'lib_opac', 'The OPAC description should be displayed if exists' );
+ is( $av, 'lib_opac', 'For OPAC: The OPAC description should be displayed if exists' );
$av = Koha::Template::Plugin::AuthorisedValues->GetDescriptionByKohaField(
{ opac => 1, kohafield => 'dummy.field', authorised_value => $av_2->authorised_value } );
- is( $av, 'lib', 'The staff description should be displayed if none exists for OPAC' );
+ is( $av, 'lib', 'For OPAC: The staff description should be displayed if none exists for OPAC' );
$av = Koha::Template::Plugin::AuthorisedValues->GetDescriptionByKohaField(
{ opac => 1, kohafield => 'dummy.field', authorised_value => $av_3->authorised_value } );
- is( $av, $av_3->authorised_value, 'If both OPAC and staff descriptions are missing, the code should be displayed');
+ is( $av, $av_3->authorised_value, 'For OPAC: If both OPAC and staff descriptions are missing, the code should be displayed');
$av = Koha::Template::Plugin::AuthorisedValues->GetDescriptionByKohaField(
{ opac => 1, kohafield => 'dummy.field', authorised_value => $non_existent_av } );
- is( $av, $non_existent_av, 'If both OPAC and staff descriptions are missing, the parameter should be displayed');
+ is( $av, $non_existent_av, 'For OPAC: If both OPAC and staff descriptions are missing, the parameter should be displayed');
# Staff display
$av = Koha::Template::Plugin::AuthorisedValues->GetDescriptionByKohaField(
--
2.11.0