Bugzilla – Attachment 130667 Details for
Bug 30074
Missing extended_attributes relationship in DBIC schema
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30074: Regression tests
Bug-30074-Regression-tests.patch (text/plain), 1.24 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-02-16 14:53:15 UTC
(
hide
)
Description:
Bug 30074: Regression tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-02-16 14:53:15 UTC
Size:
1.24 KB
patch
obsolete
>From e95a82822f8877cf3783934542b8efda72f5e073 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 16 Feb 2022 11:50:40 -0300 >Subject: [PATCH] Bug 30074: Regression tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/api/v1/patrons.t | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/patrons.t b/t/db_dependent/api/v1/patrons.t >index ba064b6392..9f052cf091 100755 >--- a/t/db_dependent/api/v1/patrons.t >+++ b/t/db_dependent/api/v1/patrons.t >@@ -52,7 +52,8 @@ subtest 'list() tests' => sub { > $schema->storage->txn_rollback; > > subtest 'librarian access tests' => sub { >- plan tests => 17; >+ >+ plan tests => 19; > > $schema->storage->txn_begin; > >@@ -90,6 +91,11 @@ subtest 'list() tests' => sub { > ->json_is( '/0/restricted' => Mojo::JSON->true ) > ->json_hasnt('/1'); > >+ $t->get_ok( "//$userid:$password@/api/v1/patrons?" >+ . 'q={"extended_attributes.type":"CODE"}' => >+ { 'x-koha-embed' => 'extended_attributes' } ) >+ ->status_is( 200, "Works, doesn't explode" ); >+ > subtest 'searching date and date-time fields' => sub { > > plan tests => 12; >-- >2.32.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 30074
:
130448
|
130667
|
130668
|
130724
|
130725