summaryrefslogtreecommitdiff
path: root/test/support/test_transaction_adapter.ex
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/test_transaction_adapter.ex')
-rw-r--r--test/support/test_transaction_adapter.ex10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/support/test_transaction_adapter.ex b/test/support/test_transaction_adapter.ex
new file mode 100644
index 0000000..c39371b
--- /dev/null
+++ b/test/support/test_transaction_adapter.ex
@@ -0,0 +1,10 @@
+defmodule MatrixAppService.TestTransactionAdapter do
+ require Logger
+ @behaviour MatrixAppService.Adapter.Transaction
+
+ @impl MatrixAppService.Adapter.Transaction
+ def new_event(%MatrixAppService.Event{}) do
+ Logger.error("got an event")
+ nil
+ end
+end