disable external connections while testing with mimix
Some checks failed
CI/CD Pipeline / build (push) Failing after 3s
Some checks failed
CI/CD Pipeline / build (push) Failing after 3s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
defmodule ElixirAiWeb.ErrorHTMLTest do
|
||||
use ElixirAiWeb.ConnCase, async: true
|
||||
use ElixirAiWeb.ConnCase, async: false
|
||||
|
||||
# Bring render_to_string/4 for testing custom views
|
||||
import Phoenix.Template
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
defmodule ElixirAiWeb.ErrorJSONTest do
|
||||
use ElixirAiWeb.ConnCase, async: true
|
||||
use ElixirAiWeb.ConnCase, async: false
|
||||
|
||||
test "renders 404" do
|
||||
assert ElixirAiWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}}
|
||||
|
||||
Reference in New Issue
Block a user