View | Details | Raw Unified | Return to bug 17032
Collapse All | Expand All

(-)a/t/db_dependent/api/v1/swagger/definitions.t (-4 / +3 lines)
Lines 27-35 use Swagger2; Link Here
27
27
28
use C4::Context;
28
use C4::Context;
29
29
30
my $swaggerPath = C4::Context->config('intranetdir')."/api/v1";
30
my $swaggerPath = C4::Context->config('intranetdir') . "/api/v1/swagger";
31
my $swagger = Swagger2->new($swaggerPath."/swagger.json")->expand;
31
my $swagger     = Swagger2->new( $swaggerPath . "/swagger.json" )->expand;
32
my $api_spec = $swagger->api_spec->data;
32
my $api_spec    = $swagger->api_spec->data;
33
33
34
# The basic idea of this test:
34
# The basic idea of this test:
35
# 1. Find all definitions in Swagger under api/v1/definitions
35
# 1. Find all definitions in Swagger under api/v1/definitions
36
- 

Return to bug 17032