mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-10 01:56:03 -04:00
Remove redundant header in provider test data
X-Forwarded-For isn't used for anything since [^1]. [^1]: https://github.com/alphagov/notifications-api/pull/1315
This commit is contained in:
@@ -8,20 +8,14 @@ def firetext_post(client, data):
|
|||||||
return client.post(
|
return client.post(
|
||||||
path='/notifications/sms/firetext',
|
path='/notifications/sms/firetext',
|
||||||
data=data,
|
data=data,
|
||||||
headers=[
|
headers=[('Content-Type', 'application/x-www-form-urlencoded')])
|
||||||
('Content-Type', 'application/x-www-form-urlencoded'),
|
|
||||||
('X-Forwarded-For', '203.0.113.195, 70.41.3.18, 150.172.238.178') # fake IPs
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
def mmg_post(client, data):
|
def mmg_post(client, data):
|
||||||
return client.post(
|
return client.post(
|
||||||
path='/notifications/sms/mmg',
|
path='/notifications/sms/mmg',
|
||||||
data=data,
|
data=data,
|
||||||
headers=[
|
headers=[('Content-Type', 'application/json')])
|
||||||
('Content-Type', 'application/json'),
|
|
||||||
('X-Forwarded-For', '203.0.113.195, 70.41.3.18, 150.172.238.178') # fake IPs
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
def dvla_post(client, data):
|
def dvla_post(client, data):
|
||||||
|
|||||||
Reference in New Issue
Block a user