Bug 18712: Fix t/Matcher.t if DB is empty
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 Nov 2017 13:13:46 +0000 (10:13 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 26 Nov 2017 16:00:03 +0000 (13:00 -0300)
commit5153d38f489e7b6d135b74b75b63e161e5917aa5
treed27478f8527a4220616d6df912e3cda269982de9
parent00adeb397ff6fb9f01dd68a42d7ed136b7afef55
Bug 18712: Fix t/Matcher.t if DB is empty

t/Matcher.t is failing with an empty DB, the data are not mocked
correctly

Test plan:
drop your DB and recreate it without any data and prove t/Matcher.t

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/Matcher.t