The integration test of updating a CustomerInvoiceDraft is no longer passing.
Seems like it does not return the the updated object on PUT and GET on the object after update is also not reflecting the update.
I have so far only tested the field invoice_customer_name since the test is not for all fields but just for the updating flow. The PUT gets 200 OK.
Ett av mina integrationstester för Customer invoice Drafts går inte längre igenom.
The integration test of updating a CustomerInvoiceDraft is no longer passing.
Seems like it does not return the the updated object on PUT and GET on the object after update is also not reflecting the update.
I have so far only tested the field invoice_customer_name since the test is not for all fields but just for the updating flow. The PUT gets 200 OK. Ett av mina integrationstester för Customer invoice Drafts går inte längre igenom.
GET to receive the CustomerInvoiceDraft return:
"InvoiceCustomerName":"TestCustomer AB"
PUT to updated object sent:
"InvoiceCustomerName": "Updated Name"
PUT response:
"InvoiceCustomerName":"TestCustomer AB"
New get on object to verify update:
"InvoiceCustomerName":"TestCustomer AB"
So the update does not go through at all.
Have contacted Visma API support for debugging since the problem is on their side.