Skip to content
Snippets Groups Projects
Commit fe009006 authored by Arne Stabenau's avatar Arne Stabenau
Browse files

return undef for unknonw stuff

parent b8b3d29b
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ use warnings;
BEGIN { $| = 1;
use Test;
plan tests => 8;
plan tests => 9;
}
use MultiTestDB;
......@@ -116,6 +116,14 @@ ok(( $asis->[0]->db_name eq "release_4" ) &&
( scalar @$asis == 2 ));
#
# 9 reject unknown stable ids
#
ok( ! defined $asia->fetch_by_stable_id_dbname( "FooBar", "release_unknown" ));
sub _print_asi {
my $asi = shift;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment