From 9e477baa5eec37719a184812b3aeb12025176437 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 9 Sep 2016 13:00:09 +0000 Subject: [PATCH] Bug 17032 [QA Followup] - Update path to swagger.json file Signed-off-by: Kyle M Hall --- t/db_dependent/api/v1/swagger/definitions.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/api/v1/swagger/definitions.t b/t/db_dependent/api/v1/swagger/definitions.t index c7977e9e77..c1ab1eb1d2 100644 --- a/t/db_dependent/api/v1/swagger/definitions.t +++ b/t/db_dependent/api/v1/swagger/definitions.t @@ -27,9 +27,9 @@ use Swagger2; use C4::Context; -my $swaggerPath = C4::Context->config('intranetdir')."/api/v1"; -my $swagger = Swagger2->new($swaggerPath."/swagger.json")->expand; -my $api_spec = $swagger->api_spec->data; +my $swaggerPath = C4::Context->config('intranetdir') . "/api/v1/swagger"; +my $swagger = Swagger2->new( $swaggerPath . "/swagger.json" )->expand; +my $api_spec = $swagger->api_spec->data; # The basic idea of this test: # 1. Find all definitions in Swagger under api/v1/definitions -- 2.39.2