From 6025c8a919a2b5de0a3a712175ee20a9124c67ec Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 18 Dec 2014 15:40:52 +0100 Subject: [PATCH] Bug 13419: (follow-up) Add tests - remove existing shelves Works as expected. Signed-off-by: Marc Veron Signed-off-by: Kyle M Hall --- t/db_dependent/Utils/Datatables_Virtualshelves.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/db_dependent/Utils/Datatables_Virtualshelves.t b/t/db_dependent/Utils/Datatables_Virtualshelves.t index c17c4b1..81766d7 100644 --- a/t/db_dependent/Utils/Datatables_Virtualshelves.t +++ b/t/db_dependent/Utils/Datatables_Virtualshelves.t @@ -34,6 +34,8 @@ my $dbh = C4::Context->dbh; $dbh->{AutoCommit} = 0; $dbh->{RaiseError} = 1; +$dbh->do(q|DELETE FROM virtualshelves|); + # Pick a categorycode from the DB my @categories = C4::Category->all; my $categorycode = $categories[0]->categorycode; -- 2.1.0