Bugzilla – Attachment 154037 Details for
Bug 34431
Distinguish between status and status alias in ILL UI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34431: Update tests
Bug-34431-Update-tests.patch (text/plain), 1.27 KB, created by
Pedro Amorim
on 2023-07-28 10:24:00 UTC
(
hide
)
Description:
Bug 34431: Update tests
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-07-28 10:24:00 UTC
Size:
1.27 KB
patch
obsolete
>From b42d83c8377b8c914c5305d17575cbede7320cd7 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 28 Jul 2023 10:23:22 +0000 >Subject: [PATCH] Bug 34431: Update tests > >--- > t/db_dependent/Koha/Illbackend.t | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/Koha/Illbackend.t b/t/db_dependent/Koha/Illbackend.t >index 79d9477b3a..43b0bc5fe6 100644 >--- a/t/db_dependent/Koha/Illbackend.t >+++ b/t/db_dependent/Koha/Illbackend.t >@@ -141,10 +141,10 @@ subtest 'existing_statuses() tests' => sub { > > # FIXME: Add tests to check content and order of return > my $expected_statuses = [ >- { code => 'CHK', str => 'Checked out' }, >- { code => 'READY', str => 'Ready' }, >- { code => 'REQ', str => 'Requested' }, >- { code => 'BOB', str => 'Bob is the best status' } >+ { code => 'CHK', str => 'Checked out', type => 'ill_status' }, >+ { code => 'READY', str => 'Ready', type => 'ill_status' }, >+ { code => 'REQ', str => 'Requested', type => 'ill_status' }, >+ { code => 'BOB', str => 'Bob is the best status', type => 'av' } > ]; > > is_deeply( $existing_statuses, $expected_statuses, 'Deep match on return' ); >-- >2.30.2
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 34431
:
154034
|
154035
|
154036
|
154037
|
154289
|
154290
|
154291
|
154292
|
154301
|
154405
|
154406
|
154407
|
154408
|
154409
|
154410
|
154999
|
161104
|
161105
|
161106
|
161107
|
161108
|
161109
|
161110
|
161129
|
161130
|
161131
|
161132
|
161133
|
161134
|
161135