Skip to content

Commit

Permalink
[xs] fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Apr 23, 2012
1 parent fbf7754 commit 49d7fd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/tests/functional/test_cors.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ def test_headers(self):
headers = dict(out.headers)
print headers
assert headers['Access-Control-Allow-Origin'] == '*'
assert headers['Access-Control-Allow-Methods'] == "POST, PUT, GET, DELETE"
assert headers['Access-Control-Allow-Headers'] == "X-CKAN-API-KEY, Content-Type"
assert headers['Access-Control-Allow-Methods'] == "POST, PUT, GET, DELETE, OPTIONS"
assert headers['Access-Control-Allow-Headers'] == "X-CKAN-API-KEY, Authorization, Content-Type"

0 comments on commit 49d7fd9

Please sign in to comment.