diff --git a/t/db_dependent/api/v1/authorities.t b/t/db_dependent/api/v1/authorities.t index 6beedf8463..5aac5790f4 100755 --- a/t/db_dependent/api/v1/authorities.t +++ b/t/db_dependent/api/v1/authorities.t @@ -180,7 +180,7 @@ subtest 'post() tests' => sub { 'fetch', sub { my ( $class, $id ) = @_; - return undef if $id == 999999; + return if $id == 999999; my $rt = ( $id == 42 ) ? 'biblio' : 'authority'; my @matches = (); @matches = (