From 73aa20afd0ed62c9af9d379bc9c002f13d673098 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 3 Jan 2019 18:55:50 +0000 Subject: [PATCH] Bug 19066: (RM follow-up) Fix test count and structure error Signed-off-by: Nick Clemens --- installer/data/mysql/kohastructure.sql | 2 +- t/db_dependent/Circulation.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 941b9f991b..8a80517639 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -2726,7 +2726,7 @@ CREATE TABLE `accountlines` ( KEY `branchcode` (`branchcode`), CONSTRAINT `accountlines_ibfk_borrowers` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, CONSTRAINT `accountlines_ibfk_2` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON DELETE SET NULL ON UPDATE SET NULL, - CONSTRAINT `accountlines_ibfk_branches` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE SET NULL ON UPDATE SET CASCADE + CONSTRAINT `accountlines_ibfk_branches` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE SET NULL ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 0a229f1df0..2a0430124b 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -18,7 +18,7 @@ use Modern::Perl; use utf8; -use Test::More tests => 123; +use Test::More tests => 124; use Test::MockModule; use Data::Dumper; -- 2.11.0