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:
Ben Thorner
2022-03-24 15:50:06 +00:00
parent 0b6f1d818b
commit 32434999f5

View File

@@ -8,20 +8,14 @@ def firetext_post(client, data):
return client.post(
path='/notifications/sms/firetext',
data=data,
headers=[
('Content-Type', 'application/x-www-form-urlencoded'),
('X-Forwarded-For', '203.0.113.195, 70.41.3.18, 150.172.238.178') # fake IPs
])
headers=[('Content-Type', 'application/x-www-form-urlencoded')])
def mmg_post(client, data):
return client.post(
path='/notifications/sms/mmg',
data=data,
headers=[
('Content-Type', 'application/json'),
('X-Forwarded-For', '203.0.113.195, 70.41.3.18, 150.172.238.178') # fake IPs
])
headers=[('Content-Type', 'application/json')])
def dvla_post(client, data):