You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -52,7 +52,6 @@ Feature: Content Negotiation support
52
52
"""
53
53
[
54
54
{
55
-
"id": "/dummies/1",
56
55
"description": null,
57
56
"dummy": null,
58
57
"dummyBoolean": null,
@@ -63,6 +62,7 @@ Feature: Content Negotiation support
63
62
"relatedDummies": [],
64
63
"jsonData": [],
65
64
"name_converted": null,
65
+
"id": 1,
66
66
"name": "XML!",
67
67
"alias": null
68
68
}
@@ -81,7 +81,7 @@ Feature: Content Negotiation support
81
81
And the response should be equal to
82
82
"""
83
83
<?xml version="1.0"?>
84
-
<response><id>/dummies/2</id><description/><dummy/><dummyBoolean/><dummyDate/><dummyFloat/><dummyPrice/><relatedDummy/><relatedDummies/><jsonData/><name_converted/><name>Sent in JSON</name><alias/></response>
84
+
<response><description/><dummy/><dummyBoolean/><dummyDate/><dummyFloat/><dummyPrice/><relatedDummy/><relatedDummies/><jsonData/><name_converted/><id>2</id><name>Sent in JSON</name><alias/></response>
85
85
"""
86
86
87
87
Scenario: Requesting the same format in the Accept header and in the URL should work
0 commit comments