bug 8768 correct an error in ItemType.t
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 13 Sep 2012 09:37:56 +0000 (10:37 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Sat, 15 Sep 2012 05:20:08 +0000 (07:20 +0200)
commitbf79b889f05937d5039c3246913c46c99ea3c928
treee6c85602a61f8614ea53f3e1b40a13e72fe8cfc1
parentb592d340af8b38f3a420095226b8117085e66574
bug 8768 correct an error in ItemType.t

The second test in ItemType.t tests that an empty table
returns no rows however as Mock::DBD has no resultset
it fails with an error in DBI It requires that an
empty resultset is defined in Mock::DBD first
This patch adds that mocked empty table

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
t/ItemType.t