From fc9ef3a2799f4654b114c319c1955113f7f716c6 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 8 May 2020 16:45:49 -0300 Subject: [PATCH] Bug 25423: (follow-up) Fix wrong test This is confusing: why does it pass on all OSs but Debian 8? Signed-off-by: Tomas Cohen Arazi --- t/Koha/Exceptions.t | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/t/Koha/Exceptions.t b/t/Koha/Exceptions.t index a63de79b9b..13f83049ab 100644 --- a/t/Koha/Exceptions.t +++ b/t/Koha/Exceptions.t @@ -179,9 +179,7 @@ subtest 'Koha::Exceptions::Patron::Relationship tests' => sub { subtest 'Koha::Exceptions::Object::NotInstantiated tests' => sub { - plan tests => 5; - - use_ok('Koha::Exceptions::Object::NotInstantiated'); + plan tests => 4; throws_ok { Koha::Exceptions::Object::NotInstantiated->throw(