This commit is contained in:
parent
994aa96a20
commit
50be85a1c3
@ -3,7 +3,7 @@ defmodule Memex.InvitesTest do
|
|||||||
This module tests the Memex.Accounts.Invites context
|
This module tests the Memex.Accounts.Invites context
|
||||||
"""
|
"""
|
||||||
|
|
||||||
use Memex.DataCase
|
use Memex.DataCase, async: true
|
||||||
alias Ecto.Changeset
|
alias Ecto.Changeset
|
||||||
alias Memex.Accounts
|
alias Memex.Accounts
|
||||||
alias Memex.Accounts.{Invite, Invites}
|
alias Memex.Accounts.{Invite, Invites}
|
||||||
|
@ -3,7 +3,7 @@ defmodule Memex.AccountsTest do
|
|||||||
This tests the accounts module
|
This tests the accounts module
|
||||||
"""
|
"""
|
||||||
|
|
||||||
use Memex.DataCase
|
use Memex.DataCase, async: true
|
||||||
alias Ecto.Changeset
|
alias Ecto.Changeset
|
||||||
alias Memex.Accounts
|
alias Memex.Accounts
|
||||||
alias Memex.Accounts.{Invites, User, UserToken}
|
alias Memex.Accounts.{Invites, User, UserToken}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
defmodule Memex.ContextsTest do
|
defmodule Memex.ContextsTest do
|
||||||
use Memex.DataCase
|
use Memex.DataCase, async: true
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
alias Memex.{Contexts, Contexts.Context}
|
alias Memex.{Contexts, Contexts.Context}
|
||||||
@moduletag :contexts_test
|
@moduletag :contexts_test
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
defmodule Memex.NotesTest do
|
defmodule Memex.NotesTest do
|
||||||
use Memex.DataCase
|
use Memex.DataCase, async: true
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
alias Memex.{Notes, Notes.Note}
|
alias Memex.{Notes, Notes.Note}
|
||||||
@moduletag :notes_test
|
@moduletag :notes_test
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
defmodule Memex.PipelinesTest do
|
defmodule Memex.PipelinesTest do
|
||||||
use Memex.DataCase
|
use Memex.DataCase, async: true
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
alias Memex.{Pipelines, Pipelines.Pipeline}
|
alias Memex.{Pipelines, Pipelines.Pipeline}
|
||||||
@moduletag :pipelines_test
|
@moduletag :pipelines_test
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
defmodule Memex.StepsTest do
|
defmodule Memex.StepsTest do
|
||||||
use Memex.DataCase
|
use Memex.DataCase, async: true
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
alias Memex.Pipelines.{Steps, Steps.Step}
|
alias Memex.Pipelines.{Steps, Steps.Step}
|
||||||
@moduletag :steps_test
|
@moduletag :steps_test
|
||||||
|
@ -3,7 +3,7 @@ defmodule MemexWeb.ExportControllerTest do
|
|||||||
Tests the export function
|
Tests the export function
|
||||||
"""
|
"""
|
||||||
|
|
||||||
use MemexWeb.ConnCase
|
use MemexWeb.ConnCase, async: true
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
|
|
||||||
@moduletag :export_controller_test
|
@moduletag :export_controller_test
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
defmodule MemexWeb.ContextLiveTest do
|
defmodule MemexWeb.ContextLiveTest do
|
||||||
use MemexWeb.ConnCase
|
use MemexWeb.ConnCase, async: true
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
defmodule MemexWeb.FaqLiveTest do
|
defmodule MemexWeb.FaqLiveTest do
|
||||||
use MemexWeb.ConnCase
|
use MemexWeb.ConnCase, async: true
|
||||||
|
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
|
|
||||||
test "disconnected and connected render", %{conn: conn} do
|
test "disconnected and connected render", %{conn: conn} do
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
defmodule MemexWeb.HomeLiveTest do
|
defmodule MemexWeb.HomeLiveTest do
|
||||||
use MemexWeb.ConnCase
|
use MemexWeb.ConnCase, async: true
|
||||||
|
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
|
|
||||||
test "disconnected and connected render", %{conn: conn} do
|
test "disconnected and connected render", %{conn: conn} do
|
||||||
|
@ -3,7 +3,7 @@ defmodule MemexWeb.InviteLiveTest do
|
|||||||
Tests the invite liveview
|
Tests the invite liveview
|
||||||
"""
|
"""
|
||||||
|
|
||||||
use MemexWeb.ConnCase
|
use MemexWeb.ConnCase, async: true
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
alias Memex.Accounts.Invites
|
alias Memex.Accounts.Invites
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
defmodule MemexWeb.NoteLiveTest do
|
defmodule MemexWeb.NoteLiveTest do
|
||||||
use MemexWeb.ConnCase
|
use MemexWeb.ConnCase, async: true
|
||||||
|
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
defmodule MemexWeb.PipelineLiveTest do
|
defmodule MemexWeb.PipelineLiveTest do
|
||||||
use MemexWeb.ConnCase
|
use MemexWeb.ConnCase, async: true
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
import Memex.Fixtures
|
import Memex.Fixtures
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user