More test changes
This commit is contained in:
@@ -60,7 +60,7 @@ func TestRecordMessageEventResponseWithMock(t *testing.T) {
|
||||
|
||||
sent := now.Add(30 * time.Minute)
|
||||
var merResponse map[string]any
|
||||
merResponse, err = TestConvertStringToMapOfAny(TestMERResponseInString())
|
||||
merResponse, err = ConvertStringToMapOfAny(MERResponseInString())
|
||||
assert.NoError(t, err, "Error Converting to map[string]any")
|
||||
|
||||
testReq := RecordEventRequest{ScheduledMessageEventId: event.Id, Response: merResponse, UserId: schMsg.UserId, Sent: &sent, Status: evnt.Message_Event_Response_Status_Scheduled}
|
||||
@@ -132,7 +132,7 @@ func TestGetMessageEventResponse(t *testing.T) {
|
||||
m.Status = evnt.Message_Event_Response_Status_Scheduled
|
||||
m.Sent = sent
|
||||
var merResponse map[string]any
|
||||
merResponse, err = TestConvertStringToMapOfAny(TestMERResponseInString())
|
||||
merResponse, err = ConvertStringToMapOfAny(MERResponseInString())
|
||||
assert.NoError(t, err, "Error Converting to map[string]any")
|
||||
m.Response = merResponse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user