Bugzilla – Attachment 55437 Details for
Bug 17032
REST API tests: Make sure Swagger object definition is up-to-date with database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17032 [QA Followup] - Update path to swagger.json file
Bug-17032-QA-Followup---Update-path-to-swaggerjson.patch (text/plain), 1.08 KB, created by
Kyle M Hall
on 2016-09-09 13:59:37 UTC
(
hide
)
Description:
Bug 17032 [QA Followup] - Update path to swagger.json file
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2016-09-09 13:59:37 UTC
Size:
1.08 KB
patch
obsolete
>From 295f8d18e65a24fc16488b1cf65dc1fc80dbf7fc Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 9 Sep 2016 13:00:09 +0000 >Subject: [PATCH] Bug 17032 [QA Followup] - Update path to swagger.json file > >--- > 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 c7977e9..c1ab1eb 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.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17032
:
53936
|
53963
|
53980
|
54022
|
54023
| 55437