Bugzilla – Attachment 161594 Details for
Bug 35922
t/db_dependent/www/batch.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35922: Fix www/batch.t
Bug-35922-Fix-wwwbatcht.patch (text/plain), 1.91 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-01-29 13:07:03 UTC
(
hide
)
Description:
Bug 35922: Fix www/batch.t
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-01-29 13:07:03 UTC
Size:
1.91 KB
patch
obsolete
>From e063077488835b37fd1bbb80e47f814d6c8e199d Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 29 Jan 2024 10:04:50 -0300 >Subject: [PATCH] Bug 35922: Fix www/batch.t > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/www/batch.t | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/t/db_dependent/www/batch.t b/t/db_dependent/www/batch.t >index 12a924989dd..b902e581603 100755 >--- a/t/db_dependent/www/batch.t >+++ b/t/db_dependent/www/batch.t >@@ -87,11 +87,11 @@ $agent->click_ok( '', 'login to staff interface' ); > # Get datatable for the batch id > $agent->get("$intranet/cgi-bin/koha/tools/batch_records_ajax.pl?import_batch_id=$import_batch_id"); > my $jsonresponse = decode_json $agent->content; >-like( $jsonresponse->{ aaData }[0]->{ citation }, qr/$bookdescription/, 'found book' ); >-is( $jsonresponse->{ aaData }[0]->{ status }, 'imported', 'record marked as staged' ); >-is( $jsonresponse->{ aaData }[0]->{ overlay_status }, 'no_match', 'record has no matches' ); >+like( $jsonresponse->{data}[0]->{citation}, qr/$bookdescription/, 'found book' ); >+is( $jsonresponse->{data}[0]->{status}, 'imported', 'record marked as staged' ); >+is( $jsonresponse->{data}[0]->{overlay_status}, 'no_match', 'record has no matches' ); > >-my $biblionumber = $jsonresponse->{aaData}[0]->{matched}; >+my $biblionumber = $jsonresponse->{data}[0]->{matched}; > > $agent->get_ok( > "$intranet/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber", >@@ -121,5 +121,5 @@ $agent->content_contains( 'The record you requested does not exist', > > $agent->get("$intranet/cgi-bin/koha/tools/batch_records_ajax.pl?import_batch_id=$import_batch_id"); > $jsonresponse = decode_json $agent->content; >-is( $jsonresponse->{ aaData }[0]->{ status }, 'reverted', 'record marked as reverted' ); >+is( $jsonresponse->{data}[0]->{status}, 'reverted', 'record marked as reverted' ); > >-- >2.43.0
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 35922
: 161594