From 9e7d1ed1baa1780a9e0522b7127c7357cde11ae0 Mon Sep 17 00:00:00 2001 From: Pierre de Lacroix Date: Wed, 3 Mar 2021 21:29:23 +0100 Subject: fix TransactionControllerTest --- .../controllers/transaction_controller_test.exs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test') diff --git a/test/matrix_app_service_web/controllers/transaction_controller_test.exs b/test/matrix_app_service_web/controllers/transaction_controller_test.exs index 435a4bc..6cf2caf 100644 --- a/test/matrix_app_service_web/controllers/transaction_controller_test.exs +++ b/test/matrix_app_service_web/controllers/transaction_controller_test.exs @@ -8,14 +8,14 @@ defmodule MatrixAppServiceWeb.TransactionControllerTest do test "transactions are pushed", %{conn: conn} do event = %{ "age" => 42, - "content" => 42, - "event_id" => 42, + "content" => %{}, + "event_id" => "event_id", "origin_server_ts" => 42, - "room_id" => 42, - "sender" => 42, - "type" => 42, - "unsigned" => 42, - "user_id" => 42 + "room_id" => "room_id", + "sender" => "sender", + "type" => "type", + "unsigned" => %{}, + "user_id" => "user_id" } assert capture_log(fn -> -- cgit v1.2.3