]> git.koha-community.org Git - koha.git/commit
Bug 30536: Fix Query.t Unit Test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 3 May 2022 07:06:41 +0000 (08:06 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 May 2022 21:19:51 +0000 (11:19 -1000)
commitcefb82be2cd36e1e1d094f058000ecfdb855a50a
treecea825bf2787b2e435ca3328113ac23a6fb404f0
parent19a2c53ddd6700b6e4d0e28654276dfe017d0b7f
Bug 30536: Fix Query.t Unit Test

The stash_embed method no longer validates the query so this patch drops
the validation tests and instead just focuses on varifying the correct
output structure of the stash after the method call.

We have not lost validation however, it now happens only once at the
OpenAPI level and tests are present in t/db_dependent/api/v1/query.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/Koha/REST/Plugin/Query.t