Skip to content
Snippets Groups Projects
Commit 1dfbf690 authored by Jonah Husson's avatar Jonah Husson
Browse files

Fix other uses of report objects

parent 849561ad
Branches
Tags
2 merge requests!510Release,!228New bindings for api2.0
......@@ -27,7 +27,8 @@ func TestSingleUseJsonMarshals(t *testing.T) {
rng.Read(payload)
sendReport := SingleUseSendReport{
RoundsList: rl,
EphID: ephId,
EphID: ephId.EphId.Int64(),
ReceptionID: ephId.Source.Marshal(),
}
srm, err := json.Marshal(sendReport)
if err != nil {
......@@ -39,7 +40,8 @@ func TestSingleUseJsonMarshals(t *testing.T) {
responseReport := SingleUseResponseReport{
RoundsList: rl,
Payload: payload,
ReceptionID: ephId,
ReceptionID: ephId.Source.Marshal(),
EphID: ephId.EphId.Int64(),
Err: nil,
}
rrm, err := json.Marshal(responseReport)
......@@ -53,7 +55,8 @@ func TestSingleUseJsonMarshals(t *testing.T) {
RoundsList: rl,
Payload: payload,
Partner: rid,
EphID: ephId,
EphID: ephId.EphId.Int64(),
ReceptionID: ephId.Source.Marshal(),
}
crm, err := json.Marshal(callbackReport)
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment