]> git.koha-community.org Git - koha.git/commit
RMAINT: Remove x-koha-query usage in biblios.t
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 13 Jun 2023 13:44:47 +0000 (10:44 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Jul 2023 14:59:17 +0000 (15:59 +0100)
commit84cfa20a73c12681728b7c5d777135648e96ba95
treeea43cc55d7ae1a2e9745f210cad81b22e1296735
parent4cdb3a57db739c8b5ad672444b02b333ef914762
RMAINT: Remove x-koha-query usage in biblios.t

RMAINT Comment: We remove x-koha-query in the header support
inadvertantly when backporting bug 33974. As such we backport the test
fix only for bug 33971.

This patch removes handling of x-koha-query from the tests.

To test:
1. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests still pass! Change from x-koha-header to q= gives same
results.
4. Sign off :-D

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 0f1b048b5d1a0e575a0352b978a21297cc282ad5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/api/v1/biblios.t