]> git.koha-community.org Git - koha.git/commit
Bug 23012: Fix t/db_dependent/Koha/Item.t
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 25 Oct 2022 17:56:23 +0000 (14:56 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 Oct 2022 19:17:10 +0000 (16:17 -0300)
commit44f15e07682c36754ad8b5516e328812ddd8611b
tree6bda0c2ba3f25877c292ed6a6b5dfb926c955deb
parent60f717bfcf941f04496e09ec48e517fd784d8586
Bug 23012: Fix t/db_dependent/Koha/Item.t

With the follow-up changes, the return value is no longer a scalar, but
a hashref, but the tests weren't updated accordingly.

This patch fixes this situation.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Item.t
=> FAIL: Tests fail
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Item.t