Bug 30920: (follow-up) Manually flush caches in tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 10 Mar 2023 16:34:26 +0000 (16:34 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Mar 2023 18:11:54 +0000 (15:11 -0300)
commitb4c9a6cfe23a47cd9a3cb5c6a74c51b36dc15855
tree4c9ac8919165760fefb21e2b7a8cf95a1c653795
parent4e8d76d6f98d0f28d6f1804a1435da2f4c229441
Bug 30920: (follow-up) Manually flush caches in tests

We can't rely on our cache flushing in either 'store' or 'delete'
triggers as t/lib/TestBuilder::build_object skips the Koha::Object store
and uses direct DB inserts in preference.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Item.t