[Housekeeping] Improve test stability (#232)
* Ensured all tests use at least the DataCase module * addressed one flakey test * More flakey tests * Consolidated Mox usage
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
defmodule PinchflatWeb.Settings.AppriseServerLiveTest do
|
||||
use PinchflatWeb.ConnCase
|
||||
|
||||
import Mox
|
||||
import Phoenix.LiveViewTest
|
||||
|
||||
alias Pinchflat.Settings.AppriseServerLive
|
||||
|
||||
setup :verify_on_exit!
|
||||
|
||||
describe "initial rendering" do
|
||||
test "renders the input", %{conn: conn} do
|
||||
{:ok, _view, html} = live_isolated(conn, AppriseServerLive, session: create_session(""))
|
||||
|
||||
Reference in New Issue
Block a user