mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
Accept CSV files with additional columns
Currently when the Celery task processes a CSV it will call the API with the values for all the non-recipient columns in the `personalisation` field. This means that those API calls would fail, even though the CSV has been processed ‘successfully’. This was not being caught by the tests, so this commit adds extra tests to check what data the task is passing to the API call. It then updates utils to version 2.0.1 which brings in this fix: https://github.com/alphagov/notifications-utils/pull/10
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
phone number
|
||||
+441234123123
|
||||
phone number, ignore this column
|
||||
+441234123123, nope
|
||||
|
||||
|
Reference in New Issue
Block a user