Skip to content
Snippets Groups Projects
Commit a9abe568 authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Additional test case for taxonomy endpoint.

parent e9d45aad
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,11 @@ my $result = json_GET("/taxonomy/name/canis%?simple=1",'Select wolf');
is($result->[0]->{'id'},'9612','Wolf found by wildcarded Canis');
is($result->[1]->{'id'},'9615','Beagle found by wildcarded Canis');
is($result->[2]->{'id'},'9611','Canis node found by wildcarded Canis');
$result = json_GET("/taxonomy/name/canis familiaris?simple=1",'Select dog');
is($result->[0]->{'id'},'9615','Dog called by name');
$expected = [{
children => [
{
......
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