blib/lib/Test/TCM/Role/API.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 16 | 0.0 |
line | true | false | branch |
---|---|---|---|
172 | 0 | 0 | if (my $route_prefix = $test->_api_route_prefix // '') |
181 | 0 | 0 | if ($params) |
186 | 0 | 0 | if ($params) |
199 | 0 | 0 | if ($test->can('_before_request_hook')) |
210 | 0 | 0 | if (exists $expected->{'status'}) { } |
222 | 0 | 0 | if (exists $expected->{'json_content'}) |
223 | 0 | 0 | if (my $json_content = eval { do { decode_json($test->api_client->content) } }) { } |
232 | 0 | 0 | unless my $ok = cmp_deeply($json_content, $expected->{'json_content'}) |