From ec270fd5cd420af483dfd64cc75f8d6a1ebea440 Mon Sep 17 00:00:00 2001 From: trilene <trilene@runbox.com> Date: Wed, 3 Jun 2020 13:11:54 -0400 Subject: [PATCH] Test fix --- tests/messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/messages.cpp b/tests/messages.cpp index 536c926d8..262559f18 100644 --- a/tests/messages.cpp +++ b/tests/messages.cpp @@ -836,7 +836,7 @@ TEST(RoomEvents, CallAnswer) "origin_server_ts": 1432735824653, "room_id": "!jEsUZKDJdhlrceRyVU:example.org", "sender": "@example:example.org", - "type": "m.call.invite", + "type": "m.call.answer", "unsigned": { "age": 1234 } @@ -885,7 +885,7 @@ TEST(RoomEvents, CallHangUp) EXPECT_EQ(event.unsigned_data.age, 1234); EXPECT_EQ(event.content.call_id, "c1591052749788"); EXPECT_EQ(event.content.version, 0); - EXPECT_EQ(event.content.reason, CallHangUp::InviteTimeOut); + EXPECT_EQ(event.content.reason, msg::CallHangUp::Reason::InviteTimeOut); EXPECT_EQ(data, json(event)); } -- GitLab