This commit is contained in:
parent
334d841d57
commit
8cb6068b85
@ -3,7 +3,7 @@ defmodule Cannery.InvitesTest do
|
||||
This module tests the Cannery.Accounts.Invites context
|
||||
"""
|
||||
|
||||
use Cannery.DataCase
|
||||
use Cannery.DataCase, async: true
|
||||
alias Cannery.Accounts
|
||||
alias Cannery.Accounts.{Invite, Invites}
|
||||
alias Ecto.Changeset
|
||||
|
@ -3,7 +3,7 @@ defmodule Cannery.AccountsTest do
|
||||
This tests the accounts module
|
||||
"""
|
||||
|
||||
use Cannery.DataCase
|
||||
use Cannery.DataCase, async: true
|
||||
alias Cannery.Accounts
|
||||
alias Cannery.Accounts.{Invites, User, UserToken}
|
||||
alias Ecto.Changeset
|
||||
|
@ -3,7 +3,7 @@ defmodule Cannery.ActivityLogTest do
|
||||
This module tests the ActivityLog context
|
||||
"""
|
||||
|
||||
use Cannery.DataCase
|
||||
use Cannery.DataCase, async: true
|
||||
import Cannery.Fixtures
|
||||
alias Cannery.{ActivityLog, ActivityLog.ShotRecord, Ammo}
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule Cannery.AmmoTest do
|
||||
Tests the Ammo context
|
||||
"""
|
||||
|
||||
use Cannery.DataCase
|
||||
use Cannery.DataCase, async: true
|
||||
alias Cannery.{Ammo, Ammo.Pack, Ammo.Type, Containers}
|
||||
alias Ecto.Changeset
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule Cannery.ContainersTest do
|
||||
Tests for the Containers context
|
||||
"""
|
||||
|
||||
use Cannery.DataCase
|
||||
use Cannery.DataCase, async: true
|
||||
alias Cannery.{Containers, Containers.Container, Containers.Tag}
|
||||
alias Ecto.Changeset
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.ExportControllerTest do
|
||||
Tests the export function
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
alias Cannery.{ActivityLog, Ammo, Containers, Repo}
|
||||
|
||||
@moduletag :export_controller_test
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.HomeControllerTest do
|
||||
Tests the home page
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
|
||||
@moduletag :home_controller_test
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.ContainerLiveTest do
|
||||
Tests the containers liveviews
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
import Phoenix.LiveViewTest
|
||||
alias Cannery.Containers
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.HomeLiveTest do
|
||||
Tests the home page
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
import Phoenix.LiveViewTest
|
||||
|
||||
@moduletag :home_live_test
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.InviteLiveTest do
|
||||
Tests the invite liveview
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
import Phoenix.LiveViewTest
|
||||
alias Cannery.Accounts.Invites
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.PackLiveTest do
|
||||
Tests pack live pages
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
import Phoenix.LiveViewTest
|
||||
alias Cannery.{Ammo, Repo}
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.RangeLiveTest do
|
||||
This module tests the Range LiveViews
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
import Phoenix.LiveViewTest
|
||||
import Cannery.Fixtures
|
||||
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.TagLiveTest do
|
||||
Tests the tag liveviews
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
import Phoenix.LiveViewTest
|
||||
|
||||
@moduletag :tag_live_test
|
||||
|
@ -3,7 +3,7 @@ defmodule CanneryWeb.TypeLiveTest do
|
||||
Tests the type liveview
|
||||
"""
|
||||
|
||||
use CanneryWeb.ConnCase
|
||||
use CanneryWeb.ConnCase, async: true
|
||||
import Phoenix.LiveViewTest
|
||||
alias Cannery.{Ammo, Repo}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user