Skip to content

Commit 3fc71ba

Browse files
committed
test: preserve event timestamp precision
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bf00a0ac-e11f-4015-b295-3cdd9b491229
1 parent 24fef0b commit 3fc71ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/read_receipts_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func TestMessageThreadReadReceipts(t *testing.T) {
134134
"content": "Unread inbound message",
135135
"encrypted": false,
136136
"sim": "SIM1",
137-
"timestamp": time.Now().UTC().Format(time.RFC3339),
137+
"timestamp": time.Now().UTC().Format(time.RFC3339Nano),
138138
},
139139
http.StatusOK,
140140
nil,
@@ -161,7 +161,7 @@ func TestMessageThreadReadReceipts(t *testing.T) {
161161
"from": contact,
162162
"to": phone.PhoneNumber,
163163
"sim": "SIM1",
164-
"timestamp": time.Now().UTC().Format(time.RFC3339),
164+
"timestamp": time.Now().UTC().Format(time.RFC3339Nano),
165165
},
166166
http.StatusOK,
167167
nil,

0 commit comments

Comments
 (0)