From 77d2e07818e7b5d2fdd4bf5dde6cd5f9527892b0 Mon Sep 17 00:00:00 2001 From: gord chung Date: Thu, 6 Apr 2017 17:57:20 +0000 Subject: [PATCH] Fix expecting content-type headers It does not contain the charset anymore, for an unknown reason. It's not a big deal though, so just fix it. this should've been done with: I0583a8cedfecb9353d23978269f8a6f1fee171a4 Change-Id: Ic5ee2197d23d4bcf01a5faca2b470e8896d178d0 --- aodh/tests/functional/gabbi/gabbits-live/alarms.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aodh/tests/functional/gabbi/gabbits-live/alarms.yaml b/aodh/tests/functional/gabbi/gabbits-live/alarms.yaml index 0f7a73ef7..b8fcedd51 100644 --- a/aodh/tests/functional/gabbi/gabbits-live/alarms.yaml +++ b/aodh/tests/functional/gabbi/gabbits-live/alarms.yaml @@ -38,7 +38,7 @@ tests: status: 201 response_headers: location: /$SCHEME://$NETLOC/v2/alarms/ - content-type: application/json; charset=UTF-8 + content-type: application/json response_json_paths: $.severity: low $.threshold_rule.threshold: 300.0 @@ -53,7 +53,7 @@ tests: $.threshold_rule.threshold: 300.0 $.threshold_rule.comparison_operator: eq response_headers: - content-type: application/json; charset=UTF-8 + content-type: application/json - name: updateAlarm desc: Updates a specified alarm. @@ -101,7 +101,7 @@ tests: desc: Gets the state of a specified alarm. GET: /v2/alarms/$RESPONSE['$[0].alarm_id']/state response_headers: - content-type: application/json; charset=UTF-8 + content-type: application/json response_json_paths: $: alarm