@@ -, +, @@ decendents ==> descendants --- installer/data/mysql/kohastructure.sql | 1 + t/db_dependent/LibraryGroups.t | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) --- a/installer/data/mysql/kohastructure.sql +++ a/installer/data/mysql/kohastructure.sql @@ -3925,6 +3925,7 @@ CREATE TABLE `article_requests` ( -- Table structure for table 'library_groups' -- +DROP TABLE IF EXISTS `library_groups`; CREATE TABLE library_groups ( id INT(11) NOT NULL auto_increment, -- unique id for each group parent_id INT(11) NULL DEFAULT NULL, -- if this is a child group, the id of the parent group --- a/t/db_dependent/LibraryGroups.t +++ a/t/db_dependent/LibraryGroups.t @@ -74,6 +74,6 @@ is( $library->id, $groupA_library1->branchcode, 'Branchcode for fetched library my @libraries_not_direct_children = $groupA->libraries_not_direct_children(); $in_list = any { $_->id eq $groupA_library1->branchcode } @libraries_not_direct_children; -ok( !$in_list, 'Method libraries_not_direct_children returns all libraries not direct decendents of group, library 1 is not in the list'); +ok( !$in_list, 'Method libraries_not_direct_children returns all libraries not direct descendants of group, library 1 is not in the list'); $in_list = any { $_->id eq $groupA1_library2->branchcode } @libraries_not_direct_children; -ok( $in_list, 'Method libraries_not_direct_children returns all libraries not direct decendents of group, library 2 is in the list'); +ok( $in_list, 'Method libraries_not_direct_children returns all libraries not direct descendants of group, library 2 is in the list'); --