Skip to content
Snippets Groups Projects
Commit f4f08186 authored by Martin Vogel's avatar Martin Vogel
Browse files

refactor: adjust test to instant (planning#2016)

parent 3a770e59
No related branches found
No related tags found
1 merge request!394planning#2016: ZBP Client
...@@ -92,7 +92,7 @@ class ZBPServiceAdapterTest { ...@@ -92,7 +92,7 @@ class ZBPServiceAdapterTest {
final CreateState createState = CreateState.builder() final CreateState createState = CreateState.builder()
.applicationId(applicationId) .applicationId(applicationId)
.createdDate(Instant.now()) .createdDate(Instant.parse("2022-07-21T08:32:11Z"))
.publicServiceName(new PublicServiceName("FIT-Connect")) .publicServiceName(new PublicServiceName("FIT-Connect"))
.state(State.COMPLETED) .state(State.COMPLETED)
.senderName(new SenderName("FIT-Connect")) .senderName(new SenderName("FIT-Connect"))
......
{"applicationId":"bb69aca6-fefd-44ec-83de-ca081ea56d4e","status":"COMPLETED","publicServiceName":{"de":"FIT-Connect"},"statusDetails":{"de":"some details"},"additionalInformation":{"de":"more information"},"reference":"referencing","senderName":{"de":"FIT-Connect"},"createdDate":"2022-07-21T08:32:11"} {"applicationId":"bb69aca6-fefd-44ec-83de-ca081ea56d4e","status":"COMPLETED","publicServiceName":{"de":"FIT-Connect"},"statusDetails":{"de":"some details"},"additionalInformation":{"de":"more information"},"reference":"referencing","senderName":{"de":"FIT-Connect"},"createdDate":"2022-07-21T08:32:11Z"}
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment