Bug 33329: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Mar 2023 23:46:44 +0000 (20:46 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 May 2023 14:35:08 +0000 (15:35 +0100)
commit34e9fa6e59d1ff93e6a61d16af65c918714f4dbd
treecc1f93f386b47f4a0f1c6425cd2cc7818dbe7b89
parent5c92a40cf1ffcda1dda65fa358dc6c46794c271d
Bug 33329: Regression tests

This patch introduces tests for the bug highlighted on bug 32336, but in
the context of lists of records.

To reproduce:
1. Run:
   $ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> FAIL: Test fail, encoding is bad!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 81fc1ebe71dd22eb9ce434ebc36234fcee26644b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/api/v1/biblios.t