make test async
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
shibao 2023-04-14 23:50:16 -04:00
parent 994aa96a20
commit 50be85a1c3
13 changed files with 13 additions and 16 deletions

View File

@ -3,7 +3,7 @@ defmodule Memex.InvitesTest do
This module tests the Memex.Accounts.Invites context
"""
use Memex.DataCase
use Memex.DataCase, async: true
alias Ecto.Changeset
alias Memex.Accounts
alias Memex.Accounts.{Invite, Invites}

View File

@ -3,7 +3,7 @@ defmodule Memex.AccountsTest do
This tests the accounts module
"""
use Memex.DataCase
use Memex.DataCase, async: true
alias Ecto.Changeset
alias Memex.Accounts
alias Memex.Accounts.{Invites, User, UserToken}

View File

@ -1,5 +1,5 @@
defmodule Memex.ContextsTest do
use Memex.DataCase
use Memex.DataCase, async: true
import Memex.Fixtures
alias Memex.{Contexts, Contexts.Context}
@moduletag :contexts_test

View File

@ -1,5 +1,5 @@
defmodule Memex.NotesTest do
use Memex.DataCase
use Memex.DataCase, async: true
import Memex.Fixtures
alias Memex.{Notes, Notes.Note}
@moduletag :notes_test

View File

@ -1,5 +1,5 @@
defmodule Memex.PipelinesTest do
use Memex.DataCase
use Memex.DataCase, async: true
import Memex.Fixtures
alias Memex.{Pipelines, Pipelines.Pipeline}
@moduletag :pipelines_test

View File

@ -1,5 +1,5 @@
defmodule Memex.StepsTest do
use Memex.DataCase
use Memex.DataCase, async: true
import Memex.Fixtures
alias Memex.Pipelines.{Steps, Steps.Step}
@moduletag :steps_test

View File

@ -3,7 +3,7 @@ defmodule MemexWeb.ExportControllerTest do
Tests the export function
"""
use MemexWeb.ConnCase
use MemexWeb.ConnCase, async: true
import Memex.Fixtures
@moduletag :export_controller_test

View File

@ -1,5 +1,5 @@
defmodule MemexWeb.ContextLiveTest do
use MemexWeb.ConnCase
use MemexWeb.ConnCase, async: true
import Phoenix.LiveViewTest
import Memex.Fixtures

View File

@ -1,6 +1,5 @@
defmodule MemexWeb.FaqLiveTest do
use MemexWeb.ConnCase
use MemexWeb.ConnCase, async: true
import Phoenix.LiveViewTest
test "disconnected and connected render", %{conn: conn} do

View File

@ -1,6 +1,5 @@
defmodule MemexWeb.HomeLiveTest do
use MemexWeb.ConnCase
use MemexWeb.ConnCase, async: true
import Phoenix.LiveViewTest
test "disconnected and connected render", %{conn: conn} do

View File

@ -3,7 +3,7 @@ defmodule MemexWeb.InviteLiveTest do
Tests the invite liveview
"""
use MemexWeb.ConnCase
use MemexWeb.ConnCase, async: true
import Phoenix.LiveViewTest
alias Memex.Accounts.Invites

View File

@ -1,6 +1,5 @@
defmodule MemexWeb.NoteLiveTest do
use MemexWeb.ConnCase
use MemexWeb.ConnCase, async: true
import Phoenix.LiveViewTest
import Memex.Fixtures

View File

@ -1,5 +1,5 @@
defmodule MemexWeb.PipelineLiveTest do
use MemexWeb.ConnCase
use MemexWeb.ConnCase, async: true
import Phoenix.LiveViewTest
import Memex.Fixtures