mirror of
https://github.com/PokeAPI/pokeapi
synced 2025-02-16 12:38:25 +00:00
change origin on tests
This commit is contained in:
parent
f515394451
commit
e3433a4244
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ class HeaderTest(TestCase):
|
|||
|
||||
response = self.client.get(
|
||||
'/api/v1/pokemon/1/',
|
||||
HTTP_ORIGIN="http://anpeterse.me"
|
||||
HTTP_ORIGIN="http://pokemon.com"
|
||||
)
|
||||
|
||||
self.assertEqual(response['Access-Control-Allow-Origin'], '*')
|
||||
|
|
|
@ -9,7 +9,7 @@ class HeaderTest(TestCase):
|
|||
|
||||
response = self.client.get(
|
||||
'/api/v2/pokemon/1/',
|
||||
HTTP_ORIGIN="http://anpeterse.me"
|
||||
HTTP_ORIGIN="http://pokemon.com"
|
||||
)
|
||||
|
||||
self.assertEqual(response['Access-Control-Allow-Origin'], '*')
|
||||
|
|
Loading…
Add table
Reference in a new issue