From 6e7f3103b5be6ba121dcc98633de143c9eb7e859 Mon Sep 17 00:00:00 2001 From: Sebastian Borrazas Date: Wed, 14 Jun 2023 07:57:40 -0300 Subject: [PATCH] test: fix intermittent test failures due to async mocking (#1396) --- test/ae_mdw_web/controllers/contract_controller_test.exs | 2 +- test/ae_mdw_web/controllers/name_controller_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ae_mdw_web/controllers/contract_controller_test.exs b/test/ae_mdw_web/controllers/contract_controller_test.exs index 4e01b8a3f..1a38c9ccd 100644 --- a/test/ae_mdw_web/controllers/contract_controller_test.exs +++ b/test/ae_mdw_web/controllers/contract_controller_test.exs @@ -1,5 +1,5 @@ defmodule AeMdwWeb.Controllers.ContractControllerTest do - use AeMdwWeb.ConnCase + use AeMdwWeb.ConnCase, async: false @moduletag skip_store: true alias :aeser_api_encoder, as: Enc diff --git a/test/ae_mdw_web/controllers/name_controller_test.exs b/test/ae_mdw_web/controllers/name_controller_test.exs index 0343d5fe7..e9bb1c62c 100644 --- a/test/ae_mdw_web/controllers/name_controller_test.exs +++ b/test/ae_mdw_web/controllers/name_controller_test.exs @@ -1,5 +1,5 @@ defmodule AeMdwWeb.NameControllerTest do - use AeMdwWeb.ConnCase + use AeMdwWeb.ConnCase, async: false alias :aeser_api_encoder, as: Enc alias AeMdw.Db.Model