Bugzilla – Attachment 154903 Details for
Bug 33970
We need a "backend" column in "illrequestattributes" table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33970: Fix tests
Bug-33970-Fix-tests.patch (text/plain), 1.36 KB, created by
Pedro Amorim
on 2023-08-29 15:18:24 UTC
(
hide
)
Description:
Bug 33970: Fix tests
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-08-29 15:18:24 UTC
Size:
1.36 KB
patch
obsolete
>From 2bd301b83bd1d1cc1982f31bc264116b374d940d Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 29 Aug 2023 15:16:53 +0000 >Subject: [PATCH] Bug 33970: Fix tests > >--- > t/db_dependent/Illrequestattributes.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Illrequestattributes.t b/t/db_dependent/Illrequestattributes.t >index d81215fdc2..a5429ddedd 100755 >--- a/t/db_dependent/Illrequestattributes.t >+++ b/t/db_dependent/Illrequestattributes.t >@@ -30,7 +30,7 @@ use_ok('Koha::Illrequestattributes'); > > subtest 'Basic object tests' => sub { > >- plan tests => 5; >+ plan tests => 6; > > $schema->storage->txn_begin; > >@@ -42,12 +42,15 @@ subtest 'Basic object tests' => sub { > > my $illrqattr_obj = Koha::Illrequestattributes->find( > $illrqattr->{illrequest_id}, >+ $illrqattr->{backend}, > $illrqattr->{type} > ); > isa_ok($illrqattr_obj, 'Koha::Illrequestattribute', > "Correctly create and load an illrequestattribute object."); > is($illrqattr_obj->illrequest_id, $illrqattr->{illrequest_id}, > "Illrequest_id getter works."); >+ is($illrqattr_obj->backend, $illrqattr->{backend}, >+ "Backend getter works."); > is($illrqattr_obj->type, $illrqattr->{type}, > "Type getter works."); > is($illrqattr_obj->value, $illrqattr->{value}, >-- >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 33970
:
152250
|
152251
|
152252
|
153263
|
153264
|
153265
|
154903
|
157433
|
157434
|
157435
|
157436
|
157437