Skip to content

Commit

Permalink
Tests gefixt
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Oct 13, 2016
1 parent 2e1cbff commit b7fad6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/errors/errors.feature
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Scenario: Using the API with Accept Header without version parameter
Scenario: Using the API with deprecated version parameter
Given I have set the "Content-Type" header with "application/vnd.api+json"
And I have set the "Accept" header with "application/vnd.api+json"
And I have set the "Accept" header with "application/vnd.api+json; net.youthweb.api.version=0.3"
And I have set the "Accept" header with "application/vnd.api+json; net.youthweb.api.version=0.4"
When I request "GET /stats/forum"
Then I get a "200" response
And the Content-Type Header "application/vnd.api+json" exists
Expand All @@ -91,7 +91,7 @@ Scenario: Using the API with deprecated version parameter
Scenario: Using the API with unsupported version parameter
Given I have set the "Content-Type" header with "application/vnd.api+json"
And I have set the "Accept" header with "application/vnd.api+json"
And I have set the "Accept" header with "application/vnd.api+json; net.youthweb.api.version=0.2"
And I have set the "Accept" header with "application/vnd.api+json; net.youthweb.api.version=0.3"
When I request "GET /stats/group"
Then I get a "406" response
And the Content-Type Header "application/vnd.api+json" exists
Expand Down

0 comments on commit b7fad6d

Please sign in to comment.