Bug 25423: (follow-up) Fix wrong test
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 8 May 2020 19:45:49 +0000 (16:45 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 8 May 2020 19:45:52 +0000 (16:45 -0300)
This is confusing: why does it pass on all OSs but Debian 8?

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

t/Koha/Exceptions.t

index a63de79..13f8304 100644 (file)
@@ -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(