Bugzilla – Attachment 168648 Details for
Bug 37289
t/db_dependent/api/v1/authorised_values.t is failing under specific circumstances
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37289: [DONT PUSH] Test only
Bug-37289-DONT-PUSH-Test-only.patch (text/plain), 1.29 KB, created by
Pedro Amorim
on 2024-07-09 13:28:07 UTC
(
hide
)
Description:
Bug 37289: [DONT PUSH] Test only
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-07-09 13:28:07 UTC
Size:
1.29 KB
patch
obsolete
>From e9cbd1a362461abfbf9467badb75a904df28a889 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 9 Jul 2024 13:26:06 +0000 >Subject: [PATCH] Bug 37289: [DONT PUSH] Test only > >Apply this patch on top of the previous one. >This patch is to prove the bug the previous patch is fixing. >It proves that the order_by using the embedded field is working as intended. >prove ./t/db_dependent/api/v1/authorised_values.t ---> Notice it fails >--- > t/db_dependent/api/v1/authorised_values.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/authorised_values.t b/t/db_dependent/api/v1/authorised_values.t >index 1a322112f4..244447331f 100755 >--- a/t/db_dependent/api/v1/authorised_values.t >+++ b/t/db_dependent/api/v1/authorised_values.t >@@ -135,7 +135,7 @@ subtest 'list_av_from_category() tests' => sub { > ); > > my $embedded_av_query = { "me.category_name" => [ $av_cat_2->category_name ] }; >- $t->get_ok( "//$userid:$password@/api/v1/authorised_value_categories?_order_by=authorised_values.authorised_value&q=" >+ $t->get_ok( "//$userid:$password@/api/v1/authorised_value_categories?q=" > . encode_json($embedded_av_query) => { 'x-koha-embed' => 'authorised_values' } )->status_is(200) > ->json_is( > [ >-- >2.39.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 37289
:
168647
| 168648 |
168663