From 04df9bc030b11bafdda6f225e7396ffa892559d5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 Oct 2017 11:54:05 -0300 Subject: [PATCH] Bug 19343: Add tests - do not display a list when private --- t/db_dependent/Virtualshelves.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/Virtualshelves.t b/t/db_dependent/Virtualshelves.t index d63044c840..834599e37a 100644 --- a/t/db_dependent/Virtualshelves.t +++ b/t/db_dependent/Virtualshelves.t @@ -416,7 +416,8 @@ subtest 'Get shelves containing biblios' => sub { { shelfname => "my x second shelf", # 'x' to make it sorted after 'third' owner => $patron2->{borrowernumber}, category => 1, - allow_add => 1, + allow_change_from_owner => 1, + allow_change_from_others => 1, } )->store; my $shelf3 = Koha::Virtualshelf->new( -- 2.11.0